Code

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

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

index cebe85a26061764c4b3959a873e657983486ca27..c420b2f1d5d93f893d7002ac93fa0271c5a46c02 100644 (file)
@@ -999,6 +999,20 @@ class printgeneric extends plugin
           "plSection"     => array("administration"),
           "plCategory"    => array("printer" => array("description"  => _("Printer"),
                                                     "objectClass"  => "gotoPrinter"),"workstation","terminal"),
+          "plProperties" =>
+          array(
+              array(
+                  "name"          => "printerRDN",
+                  "type"          => "rdn",
+                  "default"       => "ou=printers,ou=systems,",
+                  "description"   => "The 'printerRDN' statement defines the location where new printers will be created. The default is 'ou=printers,ou=systems,'.",
+                  "check"         => "gosaProperty::isRdn",
+                  "migrate"       => "",
+                  "group"         => "plugin",
+                  "mandatory"     => FALSE
+                  )
+              ),
+
           "plProvidedAcls"=> array(
             "cn"                => _("Name"),
             "base"                => _("Base") ,