--On Wednesday, February 23, 2022 4:01 PM -0800 Ben Poliakoff benp@reed.edu wrote:
However, when I added '-H ldap:///' to the ldapadd command, ensuring that the ldap traffic was now going to the correct server (headpalm), the command fails with "ldap_bind: Invalid credentials (49)".
At this point the olcRootPW in my slapd.ldif is the default ("secret"), and I can see that the base64 encoded olcRootPW in "slapd.d/cn=config/olcDatabase={1}mdb.ldif" is "olcRootPW:: c2VjcmV0" (which is, in fact the base64 encoding for "secret").
Does anyone have debugging approaches that might help me sort out why slapd isn't happy with the password? Also with regard to this mailing list's protocol, would it be better to ask this question in a separate thread?
What DN did you set for the rootDN? What DN did you use when attempting to do your bind? Error 49 doesn't necessarily mean invalid credentials. The rootdn + rootpw must be used in combination.
--Quanah