title: Unable to change user's password via ldap3 Python3
body: <p>Whenever I try to change someone's password via ldap3 library I get the following error:</p>
  
  <pre><code>{'type': 'modifyResponse', 'result': 53, 'message': '0000001F: SvcErr: DSID-031A12D2, problem 5003 (WILL_NOT_PERFORM), data 0\n\x00', 'referrals': None, 'description': 'unwillingToPerform', 'dn': ''}
  </code></pre>
  
  <p>This error usually occurs because of the two conditions: either user is trying to modify the password through the unencrypted connection or the password is being sent with the incorrect encoding. My SSL connection is fine (at least it seems to be):</p>
  
  <pre><code>print(connection)
  &gt;&gt;&gt; ldaps://DC1.DOMAIN.LOCAL:636 - ssl - user: DOMAIN\admin - not lazy - bound - open - &lt;local: 172.16.10.2:49230 - remote: 172.16.10.254:636&gt; - tls not started - listening - SyncStrategy - internal decoder
  </code></pre>
  
  <p>I tried to encode the string I'm trying send to the LDAP server, but .encode('utf-16le') didn't do the trick. Any other workarounds?</p>
  
  <p>I have a test domain environment with Windows Server 2012 R2 as a domain controller, and the code I'm trying to change the password with is present below.</p>
  
  <pre><code>import ssl
  from ldap3 import *
  
  tls_configuration = Tls(validate=ssl.CERT_REQUIRED, version=ssl.PROTOCOL_TLSv1_2)
  s = Server('DC1.domain.local', get_info=ALL, use_ssl=True, tls=tls_configuration)
  password = 'mypasswordhere'
  c = Connection(s, user="DOMAIN\\admin", password=password)
  c.open()
  c.bind()
  
  user = "CN=Dummy Dumass,OU=Automatically Generated,OU=Staff,OU=RU,DC=DOMAIN,DC=LOCAL"
  
  c.modify(user, {
      'unicodePwd': [(MODIFY_REPLACE, ['New12345'])]
  })
  
  print(c.result)
  c.unbind()
  </code></pre>