From cf571463b8733c9c10f090f054558958ca51ef53 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 1 Jun 2010 07:07:00 +0000 Subject: [PATCH] Updated dyn group -Added LDAP::fix to contructor, this allows special chars in dns -Fixed ACLs to include groups/ogroups and department git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18803 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dyngroup/addons/dyngroup/classDynamicLdapGroup.inc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc b/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc index 4278453bc..730f6f9da 100644 --- a/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc +++ b/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc @@ -74,7 +74,7 @@ class DynamicLdapGroup extends group { parent::__construct($config, $dn); $attr_label = $this->attributes[0]; - $this->$attr_label = str_replace('dc=example,dc=com', $this->dn, $this->$attr_label); + $this->$attr_label = str_replace('dc=example,dc=com', LDAP::fix($this->dn), $this->$attr_label); } /** @@ -207,12 +207,7 @@ class DynamicLdapGroup extends group "plDepends" => Array(), "plPriority" => 1, "plSection" => Array("addon"), - "plCategory" => Array( - "groups" => Array( - "description" => _("Dynamic Groups"), - "objectClass" => "labeledURIObject" - ) - ), + "plCategory" => Array("groups", "department", "ogroups"), "plProvidedAcls" => array( 'labeledURI' => _('labeledURI'), ) -- 2.30.2