set deref setting
This commit is contained in:
parent
b86ea7b33f
commit
efc47ad218
|
@ -256,7 +256,7 @@ function getChildCount($dn) {
|
|||
*/
|
||||
function deleteDN($dn) {
|
||||
$errors = array();
|
||||
$sr = @ldap_list($_SESSION['ldap']->server(), $dn, 'objectClass=*', array('dn'), 0);
|
||||
$sr = @ldap_list($_SESSION['ldap']->server(), $dn, 'objectClass=*', array('dn'), 0, 0, 0, LDAP_DEREF_NEVER);
|
||||
if ($sr) {
|
||||
$entries = ldap_get_entries($_SESSION['ldap']->server(), $sr);
|
||||
$entries = cleanLDAPResult($entries);
|
||||
|
|
Loading…
Reference in New Issue