I have setup an Exchange Server with User Accounts configured in Active Directory. I have another server in OpenLDAP with quite a lot of users. A PHP application is being used for changing any fields in OpenLDAP, including User Password. The PHP Script is working perfectly fine for me for the last 2 years with OpenLDAP.
Now I want the same PHP front-end to make changes in Active Directory also. Currently I am using phpLDAP that makes changes in OpenLDAP. Is there a way I can integrate this PHP script of mine to change password (and other fields) in Active Directory?
One thing I noticed that the "ldapsearch" command returns all the fields from Active Directory, but unlike OpenLDAP, it does not give me the password atribute. If I can get the password field somehow, I can probably use "ldapmodify" command to change the passwords.