From: hickert Date: Fri, 22 Feb 2008 08:54:56 +0000 (+0000) Subject: Updated userManagement. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3a48e9c48ac9dba08613221ebfac20d2efd057ec;p=gosa.git Updated userManagement. -Use get_sub_list in a correct way. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9050 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index a11701c4c..6af909014 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -960,11 +960,11 @@ class userManagement extends plugin $ldap= $this->config->get_ldap_link(TRUE); if ($SubSearch){ - $ListTemp = get_sub_list($filter, "users", preg_replace("/,.*$/","",get_people_ou()),$base, + $ListTemp = get_sub_list($filter, "users", get_people_ou(),$base, array("uid", "givenName", "sn", "objectClass","userPassword"), GL_SUBSEARCH | GL_SIZELIMIT); } else { $base= get_people_ou().$base; - $ListTemp = get_sub_list($filter, "users", preg_replace("/,.*$/","",get_people_ou()),$base, + $ListTemp = get_sub_list($filter, "users", get_people_ou(),$base, array("uid", "givenName", "sn", "objectClass","userPassword"), GL_SIZELIMIT); } $SortTemp = array();