Code

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

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

index 9b9f2511a1079d009b21f207da9aa5a1dfba053f..3ead07ee14ca6131f24123ced601ab4e1d514131 100644 (file)
@@ -135,21 +135,34 @@ class ArpNewDevice extends plugin
    */
   static function plInfo()
   {
-    return (array(
-          "plShortName"   => _("Unknown incoming objects"),
-          "plDescription" => _("Unknown incoming objects"),
-          "plSelfModify"  => FALSE,
-          "plDepends"     => array(),
-          "plPriority"    => 99,
-          "plSection"     => array("administration"),
-          "plCategory"    => array("incoming"   => array( "description"  => _("Incoming"),
-              "objectClass"  => "")),
-          "plProvidedAcls"=> array(
-            "cn"  => _("Name"),
-            "description"  => _("Description")
-            
-          )
-          ));
+      return (array(
+                  "plShortName"   => _("Unknown incoming objects"),
+                  "plDescription" => _("Unknown incoming objects"),
+                  "plSelfModify"  => FALSE,
+                  "plDepends"     => array(),
+                  "plPriority"    => 99,
+                  "plSection"     => array("administration"),
+
+                  "plProperties" =>
+                  array(
+                      array(
+                          "name"          => "systemIncomingRDN",
+                          "type"          => "rdn",
+                          "default"       => "ou=incoming,",
+                          "description"   => "The 'systemIncomingRDN' statement defines the location where incoming systems are stored. The default is 'ou=incoming,'.",
+                          "check"         => "gosaProperty::isRdn",
+                          "migrate"       => "",
+                          "group"         => "plugin",
+                          "mandatory"     => FALSE)),
+
+                  "plCategory"    => array("incoming"   => array( "description"  => _("Incoming"),
+                          "objectClass"  => "")),
+                  "plProvidedAcls"=> array(
+                          "cn"  => _("Name"),
+                          "description"  => _("Description")
+
+                          )
+              ));
   }
 
 }