From 0b7e600d1f3996eab522c300b254131b2931ca9a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 05:29:46 +0000 Subject: [PATCH] Updated get_ou it receives values from the config registry now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18304 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc | 2 +- gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc index 67feedef4..58783505d 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc @@ -51,7 +51,7 @@ class sudo extends plugin */ public static function get_sudoers_ou($config) { - return(get_ou("sudoRDN").$config->current['BASE']); + return(get_ou("sudo", "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 527ae5122..6672a6d09 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc @@ -38,7 +38,7 @@ class sudoManagement extends management $this->config = $config; $this->ui = $ui; - $this->storagePoints = array(get_ou("sudoRDN")); + $this->storagePoints = array(get_ou("sudo", "sudoRDN")); // Build filter if (session::global_is_set(get_class($this)."_filter")){ -- 2.30.2