How can I connect with an LDAP-Browser to a Debian Squeeze default openldap-installation? (It uses cn=config only).
Asked
Active
Viewed 5,176 times
1 Answers
3
First you need to set user and password for config database, which is configured in file /etc/ldap/slapd.d/cn=config/olcDatabase={0}config.ldif.
Information about setting password in file you can find in that answer. If you are setting username remember that it must be in format cn=Manager,cn=config, where Manager word is only thing that you can change.
After that you can bind to that database with data:
- bind DN -
olcRootDNfrom config - bind password -
olcRootPWfrom config - base DN -
cn=config
When you make your config database running you may configure your primary database by setting olcRootDN, olcRootPW, olcSuffix and ACLs for this database.
As graphical LDAP browser I'm recommending Apache Directory Studio.
-
1You can change the `cn=` as well. I prefer to use `uid=root,cn=config` on my systems. – phemmer Apr 07 '12 at 05:43