Lost password of cn=Directory Manager ?
How to reset password of cn=Directory Manager
SUN Directory Server 5.2
Tkx
How to reset password of cn=Directory Manager
SUN Directory Server 5.2
Tkx
Stop the server, edit the configuration file, restart the server.
Ludovic.
Sorry, which file is configration file ?
1. stop slapd
2. edit <instance_root>/config/dse.ldif
modify:
nsslapd-rootpw: {SSHA}xzhCFobgeX3S22tA23tUEReV9E7fT20qAlhsTg==
to something like:
nsslapd-rootpw: topsecret
3. start slapd
4. Set new password:
ldapmodify -D 'cn=directory manager' -w topsecret
dn: cn=config
replace:nsslapd-rootpw
nsslapd-rootpw: some_clever_password
^D
The new password will be hashed.