Code

Fixed error in alluser generation. If the LDAP-base is not set to the base, you'll
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 May 2006 10:23:14 +0000 (10:23 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 May 2006 10:23:14 +0000 (10:23 +0000)
get many unknown ID fields.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3579 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupGeneric.inc

index 0c3310eb807e83fa4ddc954ecd91717fc43573da..449ee54debe405e7316b45e77b282b80a9c0778c 100644 (file)
@@ -421,6 +421,7 @@ class group extends plugin
       }
     }
     if(!empty($filter)){    
+      $ldap->cd($this->config->current['BASE']);
       $ldap->search("(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))(|".$filter."))",array("uid","sn","givenName"));
       while($attrs = $ldap->fetch()){
         $this->members[$attrs['uid'][0]] = $this->createResultName($attrs);