Re: Postgres 9.0 + LDAP - Mailing list pgsql-general

From Sim Zacks
Subject Re: Postgres 9.0 + LDAP
Date
Msg-id 4DA54D53.2040608@compulab.co.il
Whole thread Raw
In response to Postgres 9.0 + LDAP  (Vinzenz Bildstein <vbildste@uoguelph.ca>)
List 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: 9.0 Out of memory
Next
From: Jeremy Palmer
Date:
Subject: Re: 9.0 Out of memory