I am trying to update a users password on OpenLDAP:
$new["userPasswo rd"] = '{md5}' . base64_encode(p ack('H*',
md5($newpass_in _plaintext)));
$this->result = ldap_modify($co nnection,
"uid=testuser,c n=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
$new["userPasswo rd"] = '{md5}' . base64_encode(p ack('H*',
md5($newpass_in _plaintext)));
$this->result = ldap_modify($co nnection,
"uid=testuser,c n=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