Code

Updated get_ou it receives values from the config registry now.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 05:29:46 +0000 (05:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 05:29:46 +0000 (05:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18304 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc
gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc

index 67feedef48737cbf298b383033d7faacb9ecda7f..58783505d6c93a212a899e0e62d280363a5ce128 100644 (file)
@@ -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.
index 527ae5122084322c14fcd0a078758c440b7fe8a0..6672a6d091e63955c872cf2e7153909ffc68e31d 100644 (file)
@@ -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")){