Code

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

gosa-plugins/samba/personal/samba/class_sambaAccount.inc

index 48b8073655330c1db00c673fa3000e1435476211..a867c7ed68cd11266814fc9c2d555b79697a56dd 100644 (file)
@@ -1335,6 +1335,11 @@ class sambaAccount extends plugin
           "plCategory"    => array("users"),
           "plOptions"       => array(),
 
+          "plRequirements"=> array(
+              'ldapSchema' => array('sambaSamAccount' => ''),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
+
           "plProvidedAcls"  => array(
 
             "sambaHomePath"               => _("Generic home directory") ,