From 687c4d9e43b92cc2096c432215591555ad18ec1c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 13:33:26 +0000 Subject: [PATCH] Updated get_ou it receives values from the config registry now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18280 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/services/shares/class_goShareServer.inc | 2 +- .../goto/admin/systems/services/shares/class_servNfs.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc b/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc index d62ad841a..4ca2f5e71 100644 --- a/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc +++ b/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc @@ -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( diff --git a/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc index 8e50b5fc2..672f071b8 100644 --- a/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc +++ b/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc @@ -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" : { -- 2.30.2