I'm trying to replicate a production problem, so I setup a test server.
I rsynced everything from /etc/openldap and /var/lib/ldap, and confirmed that both systems have the same exact openldap packages installed.
For some reason on the test box, I cannot bind as the rootdn, it keeps saying invalid credentials.
reluctantly, i've updated slapd.conf with a new rootpw, but that doesn't seem to be working either. I've ran grep -RHi olcRootPW on the slapd.d directory, but it came back with nothing.
Any thoughts?
rsync options used "-avz --delete"
Thanks, Dan
On Tue, 16 Apr 2013, D C wrote:
reluctantly, i've updated slapd.conf with a new rootpw, but that doesn't seem to be working either. I've ran grep -RHi olcRootPW on the slapd.d directory, but it came back with nothing.
If you have a slapd.d that should be used instead of the slapd.conf. So updating your slapd.conf should be irrelevant?
I'd think something along the lines of "slapcat -n0 | grep -i olcrootpw" would be better to determine what/if your current rootpw setting is. You can try that on both servers and see how/if it differs. Finally, running slapd with "-d config" may prove enlightening.
I'm pretty confused as to how it came to be. The last time I made a change on this server it was using slapd.conf. Funny enough I had to do a partial restore with slapadd today. I ended up having to do the same thing by renaming the slapd.d directory, but at least it was fresh in my mind.
I must have accidentally created it some how.
Thanks, Dan
On Tue, Apr 16, 2013 at 11:33 AM, Aaron Richton richton@nbcs.rutgers.eduwrote:
On Tue, 16 Apr 2013, D C wrote:
reluctantly, i've updated slapd.conf with a new rootpw, but that doesn't
seem to be working either. I've ran grep -RHi olcRootPW on the slapd.d directory, but it came back with nothing.
If you have a slapd.d that should be used instead of the slapd.conf. So updating your slapd.conf should be irrelevant?
I'd think something along the lines of "slapcat -n0 | grep -i olcrootpw" would be better to determine what/if your current rootpw setting is. You can try that on both servers and see how/if it differs. Finally, running slapd with "-d config" may prove enlightening.
openldap-technical@openldap.org