note 47991 deleted from ref.ldap by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 10:13:19 +0000 |
| Subject: | note 47991 deleted from ref.ldap by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196906@lists.php.net to get a copy of this message | ||
Note Submitter: xxoes at gmx dot de
----
Yes you musst use LDAP with SSL!
$newPassword = "\"" . $new_password . "\"";
$len = strlen($newPassword);
$newPassw = "";
for($i=0;$i<$len;$i++)
$newPassw .= "{$newPassword{$i}}\000";
$userdata["unicodepwd"] = $newPassw;
ldap_mod_replace($dn, $userdata);
My Windows php binary "PHP Version 4.3.9" dos not support LDAP with SSL, i have use
stunnel to create a ssl connection.