You don't show how you're connecting to the Active Directory server, but you will get this error if you try to set a password over a connection that is not SSL/TLS.
Currently the URL to your A/D server probably looks like this:
ldap://(server address):389
Try changing it to:
ldaps://(server address):636