From: hickert Date: Tue, 20 Nov 2007 10:42:09 +0000 (+0000) Subject: Updated workstation - Startup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=19e1f974ae716cef6a498338a18b70e48984ed26;p=gosa.git 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 --- 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']);