summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d53cfba)
raw | patch | inline | side by side (parent: d53cfba)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Apr 2010 09:30:45 +0000 (09:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Apr 2010 09:30:45 +0000 (09:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17808 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/references/class_reference.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/references/class_reference.inc b/gosa-core/plugins/generic/references/class_reference.inc
index afa75fa05043dc6a722dd67efb738500e913f6de..433852439d495c58bed02ce59c8c1fe7727d5123 100644 (file)
'filter' => "(&(objectClass=gosaGroupOfNames)(member=".normalizeLdap($this->dn)."))",
'attrs' => array('cn' => _("Name"),'description' => _("Description")),
'msg' => _("Object group"));
+
+ // Check for department manager
+ $this->referenceFilters[] = array(
+ 'filter' => "(&(objectClass=gosaDepartment)(manager=".normalizeLdap($this->dn)."))",
+ 'attrs' => array('ou' => _("Name"),'description' => _("Description")),
+ 'msg' => _("Department manager"));
+
+ // Check for user manager
+ $this->referenceFilters[] = array(
+ 'filter' => "(&(objectClass=gosaAccount)(manager=".normalizeLdap($this->dn)."))",
+ 'attrs' => array('givenName' => _("Given name"),'sn' => _("Surname"),'uid'=>_("Uid")),
+ 'msg' => _("User manager"));
}
function execute()