From c167f30fa6bd5d1666e2e095d601764ed46be96d Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 8 Mar 2006 08:17:37 +0000 Subject: [PATCH] Fixed search filter, to allow department selection again git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2820 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupGeneric.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index ef3a41949..ba328fccf 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -401,7 +401,8 @@ class group extends plugin $gufilter= get_global("gufilter"); $ldap->cd ($this->config->current['BASE']); - $ldap->search ("(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))(!(uid=*$)))",array("uid", "sn", "givenName")); + $ldap->cd (get_people_ou().$gufilter['dselect']); + $ldap->ls ("(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))(!(uid=*$)))",get_people_ou().$gufilter['dselect'],array("uid", "sn", "givenName")); $this->allusers= array(); while ($attrs= $ldap->fetch()){ if (isset($attrs["givenName"][0]) && isset($attrs["sn"][0])){ -- 2.30.2