I am going through the following guide:
I have installed OpenLDAP and during the install it had me setup a password. I am at the section in the guide titled Modifying/Populating your Database, the step on is:
Add the content:
ldapadd -x -D cn=admin,dc=example,dc=com -W -f add_content.ldif
Enter LDAP Password: ********
adding new entry "ou=People,dc=example,dc=com"
adding new entry "ou=Groups,dc=example,dc=com"
adding new entry "cn=miners,ou=Groups,dc=example,dc=com"
adding new entry "uid=john,ou=People,dc=example,dc=com"
I enter my LDAP password but it says, "Invalid Credentials (49)
I know the password I originally setup is right, I have rebuilt the server and am back at this part with the same error.
Am I missing something? Should I run some other command to set a password? I read earlier in the guide this:
During the install you were prompted to define administrative credentials. These are LDAP-based credentials for the rootDN of your database instance. By default, this user's DN is cn=admin,dc=example,dc=com. Also by default, there is no administrative account created for the slapd-config database and you will therefore need to authenticate externally to LDAP in order to access it. We will see how to do this later on.
Yet I haven't found how to authenticate externally if I'm even in the right area.
Any help would be appreciated.