Last Updated: February 25, 2016
· kjellski
Gavatar big

LDAP change admin PW for apacheds on bash

Assuming a default installation of ApacheDS:

$ ldapmodify -x -h -p 10389 -D \
    uid=admin,ou=system -W

Then you get asked of the default password, which is secret, enter it here:

Enter LDAP Password: 

Then enter the informations ldap needs to change the admin password:

dn: uid=admin,ou=system
changetype: modify
replace: userPassword
userPassword: <yourPasswordHere>

Now press double Enter to see this:

modifying entry "uid=admin,ou=system"

After that nothings happens, you can enter new stuff but to exit, press


Hope it helps ;) tested on apacheds-2.0.0-M8

Also: irc channel on freenode: #apache-directory

Say Thanks