BUG #7659: LDAP auth does not search the subtree
От
kevin@rootsmith.ca
Тема
BUG #7659: LDAP auth does not search the subtree
Дата
Msg-id
E1TYizx-0000RZ-EU@wrigleys.postgresql.org
Список
Дерево обсуждения
BUG #7659: LDAP auth does not search the subtree kevin@rootsmith.ca
Re: BUG #7659: LDAP auth does not search the subtree Andrzej Cedro <andrzej.cedro@wp.pl>
Re: BUG #7659: LDAP auth does not search the subtree Peter Eisentraut <peter_e@gmx.net>
The following bug has been logged on the website: Bug reference: 7659 Logged by: Kevin Smith Email address: kevin@rootsmith.ca PostgreSQL version: 9.2.1 Operating system: CentOS5 Description: = I have the following in my pg_hba.conf file: host all +ldap 127.0.0.1/32 ldap ldapserver=3D ldapport=3D389 ldapbasedb=3D"" ldapbinddn=3D"" ldapbindpasswd=3D ldapsearchattribute=3D If I try to connect from the localhost with a valid ldap account, it fails. Note that the is located in objects, one level deeper than the given. The error in the log is as follows: could not search LDAP for filter "(=3D)" on server "": error code 1 However, when I do the following on the command line, it works: ldapsearch -x -L -b "" -D "" -w -H ldap://:389 "(=3Dmy_user)" When I change the configuration in pg_hba.conf so that the ldapbasedn is exactly on the same level as where the user resides, it works perfectly. The documentation states "The search will be performed over the subtree at ldapbasedn" but this does not appear to be the case from my testing. The scope appears to be defaulting to be just searching the base.
В списке pgsql-bugs по дате отправления