Changing password when pwdsafemodify is set
You can change a password using the instructions provided here.
About this task
When using the Verify Directory LDAP client, you can use the 'ldapchangepwd' utility to modify a user's password. However, if you are using non-Verify Directory LDAP client then you can change the userpassword as shown below.
Consider an example where you have a user 'cn=user,o=sample' with the password as 'passw001rd' and you need to update that password to 'passw007rd'. To do this, issue the following command:
ldapmodify -p <port> -D <bindDN> -w <bindPassword> -i <input file>
dn: cn=user,o=sample
changetype: modify
delete: userpassword
userpassword: <old password value>
-
add: userpassword
userpassword: <new password value>