note 36792 added to function.ldap-modify

From: Date: Wed, 22 Oct 2003 16:32:30 +0000
Subject: note 36792 added to function.ldap-modify
Groups: php.notes 
Request: Send a blank email to php-notes+get-59136@lists.php.net to get a copy of this message
If you are trying to change the userPassword attribute when using md5 hashes, try the following lines: $new["userPassword"] = '{md5}' . base64_encode(pack('H*', md5($newpass_in_plaintext))); ldap_modify($ds, $dn, $new); ---- Manual Page -- http://www.php.net/manual/en/function.ldap-modify.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36792 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36792&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36792&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#59136) next »