Re: Postgres 9.0 + LDAP

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres 9.0 + LDAP
Date: 2011-04-13 07:14:27
Message-ID: 4DA54D53.2040608@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeremy Palmer 2011-04-13 07:30:09 Re: 9.0 Out of memory
Previous Message Tom Lane 2011-04-13 05:44:58 Re: 9.0 Out of memory