title: Changing LDAP users password
body: <p>I have established a LDAP Connection using admin credentials like as shown below</p>
  
  <pre><code>LDAPConnection connection;
  try {
      connection = new LDAPConnection("example.domain.com", 345);  
      BindResult auth = connection.bind("adminUsername","adminPassword");
  
  } catch (LDAPException e) {
      System.out.println(e);
  } 
  </code></pre>
  
  <p>The connection is successfully.</p>
  
  <p>Now the requirement is admin wants to change the users password.</p>
  
  <p>Can anyone please tell me how we can do that</p>
  
  <p>I am using <strong><a href="https://www.ldap.com/unboundid-ldap-sdk-for-java" rel="nofollow noreferrer">unboundid-ldap-sdk-for-java</a></strong> </p>