To remove all of a particular attribute, feed it an empty array.
For example, to remove all members from a group:
<?php
ldap_mod_del($ldapconn,$groupDN,array("member" => array()));
?>
To remove all of a particular attribute, feed it an empty array.
For example, to remove all members from a group:
<?php
ldap_mod_del($ldapconn,$groupDN,array("member" => array()));
?>