From efc47ad21807e72e8519999fe564d56564349d73 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 15 Feb 2010 17:36:45 +0000 Subject: [PATCH] set deref setting --- lam/templates/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/templates/delete.php b/lam/templates/delete.php index 86c1c6cb..70ddcc18 100644 --- a/lam/templates/delete.php +++ b/lam/templates/delete.php @@ -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);