From: hickert Date: Fri, 9 May 2008 08:54:53 +0000 (+0000) Subject: Do not query the whole ldap server to detect object count. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f7cadad7dd7782492b30172d8a83080ac7f1b965;p=gosa.git Do not query the whole ldap server to detect object count. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10858 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/setup/class_setupStep_Feedback.inc b/gosa-core/setup/class_setupStep_Feedback.inc index cf89cf6d2..cd2b45186 100644 --- a/gosa-core/setup/class_setupStep_Feedback.inc +++ b/gosa-core/setup/class_setupStep_Feedback.inc @@ -81,10 +81,9 @@ class Step_Feedback extends setup_step FALSE, $cv['tls']); + $this->object_count= ""; $ldap = new ldapMultiplexer($ldap_l); $ldap->cd($cv['base']); - $ldap->search("(objectClass=*)",array("dn")); - $this->object_count=$ldap->count(); /* Preselect used features */ $oc = $ldap->get_objectclasses();