title: How to change a SAMBA user password from Node JS?
body: <p>I'm trying to change a LDAP password from Node JS using LDAPJS.
  The LDAP server is embedded in our SAMBA server.</p>
  
  <pre><code>       client.bind("CN=&lt;myadministratorchain&gt;", "&lt;administratorpassword&gt;", function(err) {
          if(err) {
              return done(err);
          }
          var change = new ldap.Change({
              operation: "replace",
              modification: {
                  userPassword : "mynewpassword",
              }
          });
  
  
  
          client.modify("&lt;theuserDN&gt;", change, function(err) {
              done(err);
          });
      });
  </code></pre>
  
  <p>Bind and modify are both OK. I can see a new property userPassword in my SAMBA user manager but my password isn't changed when I try to connect with my those credentials.</p>
  
  <p>I've tried to use exop function but it doesn't work as well.</p>
  
  <p>Is there a way to change a SAMBA user's password from Node JS ?</p>
  
  <p>Thanks for your help. </p>