ldap_simple_bind: Invalid credentials
807573Mar 12 2009 — edited Mar 30 2009Hi all,
I've got another problem with Directory Server that I'm hoping someone can help me with. I need to be able to add the nisAdmin account to the cn=Administrators group (at least, I think this will solve my [other problem|http://forums.sun.com/thread.jspa?threadID=5372581&tstart=0])
Now, when I try and use the ldapmodify command I get the Invalid credentials error. Here is a small subset of the commands that I've tried:
ldapmodify -h sun34 -p 389 -D cn=admin,cn=Administrators,cn=dscc -w -
Enter bind password:
ldap_simple_bind: Invalid credentials
ldapmodify -h sun34 -D "cn=Directory Manager" -w -
Enter bind password:
ldap_simple_bind: Invalid credentials
I've tried everything from using the ip address of the server to not putting any hosts or ports in the command. I'm running this as root because there is no response from the server (the command hangs until I Ctrl-C it) if I run it as myself using port 1389, port 389 or port 636.
I'm on the verge of sacking the whole thing and continuing with NIS. At least NIS works.
I'm using the version of JES that came with our T5120 server. Solaris is reporting it's version as Solaris 10 8/07.
Any help is very much appreciated.
Andy