Replaced passwor encoding scheme
Replaced passwor encoding scheme

Took the idea from Example #5 in http://php.net/manual/en/function.ldap-modify-batch.php.

An a side note: ldap_modify_batch may make the use of an admin user in configuration unnecessary, but it requires a fairly recent PHP-version.
canbican/ad-change-pass,canbican/ad-change-pass