openldap with static configuration in Ubuntu

Informàtica, Software Lliure Afegir un comentari

If after configuring an openLDAP server on Ubuntu there’s no way no connect with the manager account (i.e. it gives an “ldap_bind: Invalid credentials (49)”) it’s because the ubuntu package is configured by default to use the cn=config . This means that no matter what password you have written to the ldap.conf config file, because ldap will don’t write it.

To force openldap to read the ldap.conf file you must:

  1. Stop the server
  2. Change the directory name of /etc/ldap/slapd.d to another
  3. Edit the file ‘/etc/default/slapd’ and configure the SLAPD_CONF parameter, typically to /etc/ldap/ldap.conf
  4. Start the server

More info: http://www.zytrax.com/books/ldap/ch6/slapd-config.html

Deixar una resposta

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in