At the moment I am upgrading all my infrastructure. Today I tried to upgrade one of my openldap-slaves and it failed so hard. It stucked during dpkg --configure. In my syslog some errors appeared:
In OpenLDAP even the config is now stored in LDAP. This is pretty cool if you want to replicate ACL-Rules or Configs. But it is also pretty unhandy to manage. If you install OpenLDAP in Debian, there is no Password for our "cn=admin,cn=config"-User. In this article I want to describe how to set a password.
First of all, let's search for the right entry in our ldap-tree:
dr@tardis:# ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=config
In this output we can find our cn=admin,cn=config