From 590ff41af9ea5cda9e338ee16db04bc2328cc0d2 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 30 Mar 2010 06:14:41 +0000 Subject: [PATCH] Updated release selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17369 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 3b7454fba..6ed3e961e 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -746,6 +746,9 @@ class faiManagement extends management $NewReleaseName = $name; } } + + $targetReleaseDN = "ou=".$name.",".$baseToUse; + $appsrc = preg_replace("/".preg_quote(get_ou('faiBaseRDN'), '/')."/i",get_ou('applicationRDN'),$baseToUse); $appdst = preg_replace("/".preg_quote(get_ou('faiBaseRDN'), '/')."/i",get_ou('applicationRDN'),"ou=".$name.",".$baseToUse) ; @@ -853,6 +856,10 @@ class faiManagement extends management "Daemon events called but classes where not accessible, DaemonEvent gosaSupportDaemon", FATAL_ERROR_DIALOG); } + + $releases = $this->getReleaseList(); + $this->releaseSelector->setBases($releases); + $this->releaseSelector->setBase($targetReleaseDN); exit(); } } -- 2.30.2