Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have followed the instructions found in this question until the part that I have to do an ldapadd using "cn=Manager,dc=syco,dc=net" as DN. However, I am getting the error Invalid Credentials (49) whenever I do this. What should I do? Thank you very much.

(Sorry for creating this new question instead of commenting there instead. As you can see, my reputation is yet to allow me to do so.)

share|improve this question
So how did you go about the customisation he mentioned? Namely the passwords ... – tink Oct 31 '12 at 3:47
I did not go really execute the whole script in one bash. I executed each line in that link one by one on the command line. So yes, I have modified the passwords according to my preference. Also, I have tried calling slappasswd to get a new SSHA of the password and replace the existing one. However, it does not seem to work. – Carlo Nov 3 '12 at 16:36
up vote 0 down vote accepted

I have found the solution. I was simply careless with adding/editing the olcRootPW field for the slapd.d configuration files. I missed putting the {SSHA} to indicate the encryption method for the RootDN.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.