Re: BUG #7659: LDAP auth does not search the subtree

From: Andrzej Cedro <andrzej(dot)cedro(at)wp(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7659: LDAP auth does not search the subtree
Date: 2013-05-21 06:54:09
Message-ID: 1369119249672-5756292.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I use PostgeSQL 9.1 32-bit on Windows 7 Professional with Active Directory as
LDAP.
I have following configration in pg_hba.conf:

host all all all ldap ldapserver=192.168.155.157
ldapbinddn="CN=aaaaaa,OU=bbbbb,DC=cccc,DC=dddd" ldapbindpasswd=******
ldapbasedn="DC=cccc,DC=dddd" ldapsearchattribute=sAMAccountName

Search is performed over the subtree at ldapbasedn, but is much more slower
then search exactly on the same level as where the user resides. I think
that search is performed on every database operation.

May be your problem is "timeout problem"

I found that you wrote ldapbase*db* in parameters when ldapbase*dn* is
required.

----

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-7659-LDAP-auth-does-not-search-the-subtree-tp5732369p5756292.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message tudorbarascu 2013-05-21 07:41:33 BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should
Previous Message Tom Lane 2013-05-20 13:06:18 Re: BUG #8170: alter user does not accept timestamp output format in certain datestyles and timezones.