Code

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

gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc
gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc

index d62ad841ae82603c826cf1cc8033fe3fb1ed1737..4ca2f5e71c057ce0fc2b99cac97ef66555b31bbc 100644 (file)
@@ -264,7 +264,7 @@ class goShareServer extends goService{
 
    function process_mounts() {
 
-    $clip = "cn=" . $this->cn . ",".get_ou('serverRDN');
+    $clip = "cn=" . $this->cn . ",".get_ou("servgeneric", "serverRDN") ;
     $mountsdn = "cn=mounts," . substr($this->dn, strlen($clip));
 
     $mounts = array(
index 8e50b5fc20228347344fdd49e6b972ba990cb847..672f071b8b8c472165a7def6bc2e7ff73487e84a 100644 (file)
@@ -115,7 +115,7 @@ class servnfs extends plugin
         $smarty->assign("mount_checked", "checked");
       } else {
         $tmp = explode(",", $this->dn);
-        $clip = $tmp[0] . ",".get_ou('serverRDN');
+        $clip = $tmp[0] . ",".get_ou("servgeneric", "serverRDN") ;
         $mountsdn = "cn=mounts," . substr($this->dn, strlen($clip));
         switch ($this->type) {
           case "netatalk" : {