summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b919dd)
raw | patch | inline | side by side (parent: 5b919dd)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jan 2006 14:39:16 +0000 (14:39 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jan 2006 14:39:16 +0000 (14:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2466 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc
index 8b2c2b6ae20e7e86ee88ca1ce3f2a2c9e17cdc7c..6cddc632133cc82092263961e789f481e12ecfdb 100644 (file)
$this->users= array();
$ldap= $this->config->get_ldap_link();
$gufilter= get_global("gufilter");
- $ldap->cd ($gufilter['dselect']);
- $ldap->search ("(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))(!(uid=*$)))");
- natcasesort ($this->users);
- reset ($this->users);
$ldap->cd ($gufilter['dselect']);
- $ldap->search ("(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))(!(uid=*$)))");
+ $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])){