On 04/13/2011 03:36 AM, Vinzenz Bildstein wrote:
Right now the line I would add to the pg_hba.conf would look something like this: host database all CIDR ldap ldapserver=my.domain.com ldapbasedn="dc=my,dc=domain,dc=com" ldapprefix="cn=ldap,cn=users" ldapsuffix="dc=my,dc=domain,dc=com"

You need to include the user name field.
Mine looks like:
ldap ldapserver=my-ldap-server.domain.local ldapprefix="uid=" ldapsuffix=",ou=Users,dc=domain,dc=local"

Where the authentication would generally look like:
uid=sim,ou=Users,dc=domain,dc=local

Sim

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to