summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2dd9471)
raw | patch | inline | side by side (parent: 2dd9471)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Dec 2006 07:56:51 +0000 (07:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Dec 2006 07:56:51 +0000 (07:56 +0000) |
If FAI.schema is not included within slapd, and we search for attribute FAIrelease, we won't see any groups.. i don't know why.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5330 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5330 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupManagement.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index ed891cc5951eb2bc61fe53638b98e7cf021e3798..002cbb788a4c16979e36474dc60226344778122d 100644 (file)
/********************
Search for the prepared filter
********************/
-
+
+ /* Attributes to search for */
+ $attrs = array("cn", "description", "gidNumber", "objectClass");
+
/* If subsearch is activated search for subobjects too */
- $attrs = array("cn", "description", "gidNumber", "objectClass","FAIrelease");
+ $tmp = search_config($this->config->data,"faiManagement","CLASS");
+ if(!empty($tmp)){
+ $attrs [] = "FAIrelease";
+ }
if ($SubSearch){
$res= get_list($filter, $this->ui->subtreeACL, $base, $attrs, GL_SIZELIMIT| GL_SUBSEARCH);