From: hickert Date: Thu, 27 May 2010 10:14:03 +0000 (+0000) Subject: Added dependencies to posixAccount X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f0784d87ba2f380e0552275c4169b5c70d889fd;p=gosa.git Added dependencies to posixAccount -Disable samba, netatalk, posix and envrionment while the object class posixAccount is missing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18769 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index 4d8241c2e..2519d6ea1 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -1295,6 +1295,10 @@ class posixAccount extends plugin "plSection" => array("personal" => _("My account")), "plCategory" => array("users"), "plOptions" => array(), + "plRequirements"=> array( + 'ldapSchema' => array('posixAccount' => ''), + 'onFailureDisablePlugin' => array(get_class(), 'sambaAccount','netatalk','environment') + ), "plProvidedAcls" => array(