Code

Added a dummy property
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 May 2010 13:49:40 +0000 (13:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 May 2010 13:49:40 +0000 (13:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18026 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 77d63041a85d98ad5a04d48743a9a62eb9385925..5a72bca38c8c5bba278d5fe39d01777de6ec66fd 100644 (file)
@@ -516,6 +516,16 @@ class sudo extends plugin
                     "plSection"     => array("administration"),
                     "plCategory"    => array("sudo" => array("objectClass" => "sudoRole", "description" => _("Sudo role"))),
 
+                    "plProperties"  => array(
+                        array(
+                            "name"          => "sudoRDN",
+                            "type"          => "string",
+                            "default"       => "ou=sudoers,",
+                            "description"   => _("Storage point for sudo objects within the ldap tree."),
+                            "check"         => 'tests::isRDN',
+                            "migrate"       => 'sudoGeneric::migrate',
+                            "mandatory"     => FALSE)),
+
                     "plProvidedAcls"    => array(
                         "accessTo"          => _("System trust"),
                         "cn"                => _("Name"),