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

Update OpenLDAP userPassword

P: n/a
I am trying to update a users password on OpenLDAP:

$new["userPassword"] = '{md5}' . base64_encode(pack('H*',
md5($newpass_in_plaintext)));
$this->result = ldap_modify($connection,
"uid=testuser,cn=users,dc=test,dc=net", $new);

I am authenticated and the operation succeeds (no errors), but the
password does not change.
How can I properly change a userPassword value in OpenLDAP?
Thank you for any suggestions.

--
Stefan
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.