I have established a LDAP Connection using admin credentials like as shown below
LDAPConnection connection;
try {
connection = new LDAPConnection("example.domain.com", 345);
BindResult auth = connection.bind("adminUsername","adminPassword");
} catch (LDAPException e) {
System.out.println(e);
}
The connection is successfully.
Now the requirement is admin wants to change the users password.
Can anyone please tell me how we can do that
I am using unboundid-ldap-sdk-for-java
Alex,
Here is an example: https://gist.github.com/bertold/002491a2630a98d80733b8228f75b75c
I hope this helps.