Code

Do not query the whole ldap server to detect object count.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 May 2008 08:54:53 +0000 (08:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 May 2008 08:54:53 +0000 (08:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10858 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/class_setupStep_Feedback.inc

index cf89cf6d2e0ef59bd43f9830bb9a4c029e0db7fa..cd2b451862627ae1f7f044261573a22dfcebd105 100644 (file)
@@ -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();