When using the Tivoli® Directory Server LDAP client, you can use the 'ldapchangepwd' utility to modify a user's password. However, if you are using non-Tivoli Directory Server 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>
[ Top of Page | Previous Page | Next Page ]