From: cajus Date: Wed, 31 May 2006 10:23:14 +0000 (+0000) Subject: Fixed error in alluser generation. If the LDAP-base is not set to the base, you'll X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5323a64eeb05e724431b250a90be560baca1558f;p=gosa.git Fixed error in alluser generation. If the LDAP-base is not set to the base, you'll get many unknown ID fields. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3579 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index 0c3310eb8..449ee54de 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -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);