From 5c4076abacd34aa06797fdf7f8c0d1e626d7379a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 2 Mar 2006 09:19:20 +0000 Subject: [PATCH] Fixed missing cn in group dialog member list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2803 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupGeneric.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index e1286d7e1..efacfb29e 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -400,14 +400,13 @@ class group extends plugin $ldap= $this->config->get_ldap_link(); $gufilter= get_global("gufilter"); - $ldap->cd ($gufilter['dselect']); - $ldap->ls ("(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))(!(uid=*$)))",get_people_ou().$gufilter['dselect'],array("uid", "sn", "givenName")); + $ldap->cd ($this->config->current['BASE']); + $ldap->search ("(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))(!(uid=*$)))",array("uid", "sn", "givenName")); $this->allusers= array(); while ($attrs= $ldap->fetch()){ if (isset($attrs["givenName"][0]) && isset($attrs["sn"][0])){ $this->allusers[$attrs["uid"][0]]= $attrs["sn"][0].", ". - $attrs["givenName"][0]. - " [".$attrs["uid"][0]."]"; + $attrs["givenName"][0]." [".$attrs["uid"][0]."]"; } else { $this->allusers[$attrs["uid"][0]]= $attrs['uid'][0]; } -- 2.30.2