User not found for cn=config in OpenLDAP?
Posted
by
Nick
on Server Fault
See other posts from Server Fault
or by Nick
Published on 2012-04-09T04:58:39Z
Indexed on
2012/04/09
5:32 UTC
Read the original article
Hit count: 469
openldap
We're running OpenLDAP on Ubuntu 10.04. I'm able to access and use the front end with cn=admin,dc=ourcompany,dc=com and my password.
But I'm unable to change the server's configuration (like loglevel) stored in cn=config because I don't seem to have a valid user/password for the backend?
Some examples:
# ldapsearch
SASL/DIGEST-MD5 authentication started
Please enter your password:
ldap_sasl_interactive_bind_s: Invalid credentials (49)
additional info: SASL(-13): user not found: no secret in database
or
# ldapadd -x -D "cn=admin,cn=config" -W -f "my.ldif""
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
How do I create a user for the cn=config backend?
© Server Fault or respective owner