[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
BINDDN in ldap.conf
Hello list
When I use a command:
ldapsearch -x '(objectclass=*)' -W -D "cn=admin, dc=example, dc=com"
all works good.
But when I add BINDDN into the /etc/ldap/ldap.conf file, and try to use:
ldapsearch -x '(objectclass=*)' -W
I've got an error:
ldap_bind: Invalid credentials (49)
I use debian sarge with standard ldap/slapd packege (v2.1).
My /etc/ldap/ldap.conf file contains:
BASE dc=example,dc=com #works good
URI ldap://localhost/ #works good
BINDDN cn=admin,dc=example,dc=com #does not work
Why default dn bind specified in /etc/ldap/ldap.conf does not work ?
Greetings,
Artur