Hope someone can help me out here. I forgot the OpenLDAP admin password on a debian server and in the process, I specified the password in the slapd config file as follows:
olcRootPW: {SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
I am following the guide here: http://techiezone.rottigni.net/2011/12/change-root-dn-password-on-openldap/
When I run service slapd start
I receive the following error:
Starting OpenLDAP: slapdrm: cannot remove `/var/lib/ldap/alock': No such file or directory
failed!
I removed this but to no avail.
I have restarted the server however this did not make any difference. I have full access to the server.
Any suggestions on how to get OpenLDAP running again?