Обсуждение: LDAP authentication question

Поиск
Список
Период
Сортировка

LDAP authentication question

От
rob
Дата:
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

Re: LDAP authentication question

От
rob
Дата:
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...@gmail.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