Re: LDAP authentication question

From: rob <robklaus(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: LDAP authentication question
Date: 2008-04-16 02:50:05
Message-ID: e1fb6a08-8df6-4219-a96b-5f271c4b6484@m3g2000hsc.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Well, not 100% sure why this would make a difference, but using this
line in pg_hba.conf got things working as I hoped:

host all all 192.168.0.0/16 ldap "ldap://192.168.0.95/
dc=domainname,dc=company,dc=com;DOMAINNAME\"

-Rob

On Apr 15, 10:30 pm, rob <robkl(dot)(dot)(dot)(at)gmail(dot)com> wrote:
> Hello,
>
> I am trying to get my Postgresql 8.2.5 system to authenticate database
> users against my Windows AD domain. I have gotten to the point where
> there is some level of authentication happening, but I have to use my
> user's 'given name' as opposed to their actual user name. I have no
> real working knowledge of ldap, which I suppose is the real problem
> here. Could anyone point me in the right direction?
>
> Here is what I have in my pg_hba.conf file:
>
> host all all 192.168.0.0/16 ldap "ldap://
> 192.168.0.95/basedn;cn=;,cn=Users,DC=domainname,DC=company,DC=com"
>
> Any assistance appreciated.
>
> -Rob

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2008-04-16 09:35:26 Examining very large dumps
Previous Message rob 2008-04-16 02:30:53 LDAP authentication question