From 5323a64eeb05e724431b250a90be560baca1558f Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 31 May 2006 10:23:14 +0000 Subject: [PATCH] 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 --- plugins/admin/groups/class_groupGeneric.inc | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2