0





106
1

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

Question author Alex-man | Source

0


1

Alex,

Here is an example: https://gist.github.com/bertold/002491a2630a98d80733b8228f75b75c

I hope this helps.

Answer author Bertold-kolics

Ask about this question here!