I need to make an method to change an user password that is in the IBM TDS, i have to compare the if the user provide the correct user password, and change it. i have the username, oldpassword and newpassword as parameters. Anyone knows how to make it?
Asked
Active
Viewed 2,294 times
1 Answers
2
Use the UnboundID LDAP SDK.
- The BIND request will verify whether the existing password is correct - there is no need to compare passwords, the BIND request will return a result code of zero if the password matches the password stored in the directory server database
- Use either the modify operation or the password modify extended request to change the password
see also

Terry Gardner
- 10,957
- 2
- 28
- 38