From 19e1f974ae716cef6a498338a18b70e48984ed26 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Nov 2007 10:42:09 +0000 Subject: [PATCH] Updated workstation - Startup FAI classes were not detected like it is in 2.5 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7822 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index e9c5144fd..c92cde85a 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -110,7 +110,7 @@ class workstartup extends plugin /* FAI Initialization Skip this if FAI is not activated */ - if($this->fai_activated) { + if($this->fai_activated) { $_SESSION['getAvailableClassesForThisRelease_CACHE'] = array(); $_SESSION['getAvailableClassesForThisRelease_CACHED_CLASSES'] = array(); @@ -421,7 +421,9 @@ class workstartup extends plugin } $test2 = array(); - $bb = $this->generateDNSyn($release).$_SESSION['CurrentMainBase']; +# $bb = $this->generateDNSyn($release).$_SESSION['CurrentMainBase']; + $bb = $this->generateDNSyn($release).$this->config->current['BASE']; + $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); -- 2.30.2