note 43216 added to function.ldap-modify
| From: | chris at uffbasse dot de | Date: | Mon, 14 Jun 2004 13:57:39 +0000 |
| Subject: | note 43216 added to function.ldap-modify | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71046@lists.php.net to get a copy of this message | ||
To pinpoint the delete issue:
with newer OpenLdap versions this will fail:
$values["mail"] = "";
ldap_modify($conn_id, $dn, $values);
or
$values["mail"][0] = "";
ldap_modify($conn_id, $dn, $values);
BUT this works:
$values["mail"] = array();
ldap_modify($conn_id, $dn, $values);
or
$values["mail"][0] = array();
ldap_modify($conn_id, $dn, $values);
----
Manual Page -- http://www.php.net/manual/en/function.ldap-modify.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43216
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43216&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43216&report=yes
Search -- http://master.php.net/manage/user-notes.php