note 46775 deleted from function.ldap-modify by tomsommer
| From: | tomsommer@php.net | Date: | Fri, 22 Oct 2004 18:19:00 +0000 |
| Subject: | note 46775 deleted from function.ldap-modify by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78958@lists.php.net to get a copy of this message | ||
Note Submitter: eppo at darox dot net
----
you CAN edit objectClass as you want (unless you don't do class object violation editing the
entry).
If you want to remove 'totoClass' in objectClass list, just don't put it in
objectClass array:
$info["objectClass"][] = 'top';
$info["objectClass"][] = 'person';
$info["objectClass"][] = 'shadowAccount';
$info["objectClass"][] = 'posixAccount';
// $info["objectClass"] = 'totoClass'; comment if you want to remove totoClass,
uncomment if you want to add it.
ldap_modify($ldap_conn, $dn, $info);