Code

Added storage RDN properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:06:32 +0000 (13:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:06:32 +0000 (13:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18248 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc

index 9ec03ff2a5cf5f3b7661ad025c6efb5fcafcc0c7..67feedef48737cbf298b383033d7faacb9ecda7f 100644 (file)
@@ -516,16 +516,18 @@ class sudo extends plugin
                     "plSection"     => array("administration"),
                     "plCategory"    => array("sudo" => array("objectClass" => "sudoRole", "description" => _("Sudo role"))),
 
-                    "plProperties"  => array(
+                    array(
                         array(
                             "name"          => "sudoRDN",
-                            "type"          => "string",
+                            "type"          => "rdn",
                             "default"       => "ou=sudoers,",
-                            "description"   => _("Storage point for sudo objects within the ldap tree."),
-                            "check"         => 'gosaProperty::isRdn',
-                            "migrate"       => 'sudoGeneric::migrate',
+                            "description"   => "The 'sudoRDN' statement defines the location where new sudo-roles will be created. The default is 'ou=sudoers,'.",
+                            "check"         => "gosaProperty::isRdn",
+                            "migrate"       => "",
+                            "group"         => "plugin",
                             "mandatory"     => FALSE)),
 
+
                     "plProvidedAcls"    => array(
                         "accessTo"          => _("System trust"),
                         "cn"                => _("Name"),