Code

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

gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc

index 807a1d0949c10c6e31d0ca47946290ecfe243774..1ba789d10e3eb8693e0483aeee75290ba8fe302c 100644 (file)
@@ -285,15 +285,29 @@ class wingeneric extends plugin
   #FIXME FAIscript seams to ununsed within this class... */
   static function plInfo()
   {
-    return (array(
-          "plShortName"   => _("Win generic"),
-          "plDescription" => _("Windows workstation generic"),
-          "plSelfModify"  => FALSE,
-          "plDepends"     => array(),
-          "plPriority"    => 0,
-          "plSection"     => array("administration"),
-          "plCategory"    => array("winworkstation" => array("description"  => _("Win workstation"),
-                                                          "objectClass"  => "gotoWorkstation")),
+      return (array(
+                  "plShortName"   => _("Win generic"),
+                  "plDescription" => _("Windows workstation generic"),
+                  "plSelfModify"  => FALSE,
+                  "plDepends"     => array(),
+                  "plPriority"    => 0,
+                  "plSection"     => array("administration"),
+                  "plCategory"    => array("winworkstation" => array("description"  => _("Win workstation"),
+                          "objectClass"  => "gotoWorkstation")),
+                  "plProperties" =>
+                  array(
+                      array(
+                          "name"          => "sambaMachineAccountRDN",
+                          "type"          => "rdn",
+                          "default"       => "ou=winstation,",
+                          "description"   => "The 'sambaMachineAccountRDN' statement defines the location where new windows workstations will be created. The default is 'ou=winstation,'.",
+                          "check"         => "gosaProperty::isRdn",
+                          "migrate"       => "",
+                          "group"         => "plugin",
+                          "mandatory"     => FALSE
+                          )
+                      ),
+
           "plProvidedAcls"=> array(
             "cn"                  => _("Name"),
             "base"                => _("Base"),