From: hickert Date: Fri, 19 Sep 2008 08:19:50 +0000 (+0000) Subject: Updated sudo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=394f21eb121fcb096b73bed908b0f7e742718718;p=gosa.git Updated sudo -Fixed get_ou -Fixed problems with missing CopyPasteHandler in management class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12521 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc index 9343b8192..7878acbc3 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc @@ -55,14 +55,7 @@ class sudo extends plugin */ public static function get_sudoers_ou($config) { - /*** - GET sudo base - ***/ - $base = get_ou("sudoRDN"); - if(empty($base)){ - $base = "ou=sudoers,"; - } - return($base.$config->current['BASE']); + return(get_ou("sudoRDN").$config->current['BASE']); } /*! \brief Initializes this sudo class, with all required attributes. diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc index 1ae560bc4..3e8c58fd8 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc @@ -39,6 +39,7 @@ class sudoManagement extends plugin private $start_pasting_copied_objects = FALSE; public $acl_module = array("sudo"); + public $CopyPasteHandler = NULL; /*! \brief */ public function __construct(&$config, &$ui)