Search Postgresql Archives

Re: Postgres 9.0 + LDAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux