Please note that you don't have to use filtering in ldap_read() call. This call does not search ldap directory. It loads information about user's dn found in ldap_search() call.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patch for change_ldap_password
Logged In: YES
user_id=225877
Originator: NO
Fixed in change_ldappass 2.1
Please note that you don't have to use filtering in ldap_read() call. This call does not search ldap directory. It loads information about user's dn found in ldap_search() call.
Logged In: YES
user_id=285765
Originator: NO
This can be integrated into the change_password ldap backend in Devel.