Nov 04
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:
- Stop the server
- Change the directory name of /etc/ldap/slapd.d to another
- Edit the file ‘/etc/default/slapd’ and configure the SLAPD_CONF parameter, typically to /etc/ldap/ldap.conf
- Start the server
More info: http://www.zytrax.com/books/ldap/ch6/slapd-config.html
Recent Comments