Connect to LDAP with cn=config in Debian Squeeze

5,080

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:
5,080

Related videos on Youtube

chris
Author by

chris

Updated on September 18, 2022

Comments

  • chris
    chris almost 2 years

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

  • phemmer
    phemmer over 12 years
    You can change the cn= as well. I prefer to use uid=root,cn=config on my systems.