How to reset and generate a new password for a user in Open DJ

The ldappasswordmodify utility enables you to reset a user’s password.You can specify authorization IDs with the –authzid option by prefixing dn:, u:, or by specifying the full DN.

You can use the ldappasswordmodify to reset and generate a new password for a user in Open DJ in the next way:

ldappasswordmodify –hostname localhost –port 389 –bindDN “cn=Directory Manager” –bindPassword Password1dm –authzID u:opendjuser

After the execution the OpenDJ server will return the password created.

The LDAP password modify operation was successful
Generated Password: pnx50okb