Code

added schema dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 10:38:56 +0000 (10:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 10:38:56 +0000 (10:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18770 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index e8973d8cc994587164f23d62a8a366166e5c9339..fdbed0983bb379a57489c8f7c9565961d14835b4 100644 (file)
@@ -294,6 +294,21 @@ class wingeneric extends plugin
                   "plSection"     => array("administration"),
                   "plCategory"    => array("winworkstation" => array("description"  => _("Win workstation"),
                           "objectClass"  => "gotoWorkstation")),
+
+                  "plRequirements"=> array(
+                      'ldapSchema' => array(
+                          'posixAccount' => '',
+                          'organizationalPerson' => '',
+                          'person' => '',
+                          'inetOrgPerson' => '',
+                          'gosaAccount' => '>=2.7',
+                          'shadowAccount' => '',
+                          'sambaSamAccount' => ''
+                          ),
+                      'onFailureDisablePlugin' => array(get_class())
+                      ),
+
+
                   "plProperties" =>
                   array(
                       array(