Code

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

gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc

index 432d377ef757a40333cac3a41670a6cc64ba3b64..b5ff4338ccee2d54b42253e8b04a8157c10400a4 100644 (file)
@@ -687,6 +687,20 @@ class workgeneric extends plugin
           "plSection"     => array("administration"),
           "plCategory"    => array("workstation" => array("description"  => _("Workstation"),
                                                           "objectClass"  => "gotoWorkstation")),
+          "plProperties" =>
+          array(
+              array(
+                  "name"          => "workstationRDN",
+                  "type"          => "rdn",
+                  "default"       => "ou=workstations,ou=systems,",
+                  "description"   => "The 'workstationRDN' statement defines the location where new workstations will be created. The default is 'ou=workstations,ou=systems,'.",
+                  "check"         => "gosaProperty::isRdn",
+                  "migrate"       => "",
+                  "group"         => "plugin",
+                  "mandatory"     => FALSE
+                  )
+              ),
+
           "plProvidedAcls"=> array(
             "cn"                  => _("Workstation name"),
             "description"         => _("Description") ,