From: hickert Date: Tue, 28 Mar 2006 09:28:17 +0000 (+0000) Subject: Fixed class detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b00fb5b8d6a80d853e58eb028bd3b65d024f4d4e;p=gosa.git Fixed class detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2918 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 39be9089a..522e870c5 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -602,7 +602,9 @@ class workstartup extends plugin $str = ""; $tmp = split("\/",$release); $tmp = array_reverse($tmp); - + + $base = ",ou=fai,"; + $arr = array("scripts","hooks","disk","variables","templates","profiles","packages"); foreach($tmp as $departmentname){ @@ -611,7 +613,7 @@ class workstartup extends plugin } $ret = array(); foreach($arr as $ar){ - $ret[] = ",ou=".$ar.$str; + $ret[] = ",ou=".$ar.$str.$base; } return($ret); }