By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,604 Members | 858 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,604 IT Pros & Developers. It's quick & easy.

Changing AD Password using PHP/LDAP

P: n/a
According to this page:

http://support.microsoft.com/kb/269190

"There are two possible ways to modify the unicodePwd attribute. The
first is similar to a normal "user change password" operation. In this
case, the modify request must contain both a delete and an add
operation. The delete operation must contain the current password with
quotes around it. The add operation must contain the desired new
password with quotes around it."
For any one who has used PHP, LDAP and Active Directory:

I would like to do a web page where the user may change their AD
password. They should type their old password in, their new password
in twice, then it should change.

Is there a way to both do a delete and an add with the same PHP LDAP
API call? I see on the Microsoft page that you can do this with C,
but I can't figure out how it would be done with PHP.
Dec 18 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.