Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I connect with an LDAP-Browser to a Debian Squeeze default openldap-installation? (It uses cn=config only).

share|improve this question

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 - olcRootDN from config
  • bind password - olcRootPW from 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.

share|improve this answer
You can change the cn= as well. I prefer to use uid=root,cn=config on my systems. – Patrick Apr 7 '12 at 5:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.