Is there a way to both do a delete and an add with the same PHP LDAP API
modify call? I know you can do this with C, but I can't figure out how
it would be done with PHP.
The reason why I ask is that 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. According to
the Microsoft 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."
On the page they show how to do both with one function call via the C API.
I can't find a way to do this with PHP. Any one know how to do this
with PHP?
---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.