Code

Fixed class detection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Mar 2006 09:28:17 +0000 (09:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Mar 2006 09:28:17 +0000 (09:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2918 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index 39be9089aae3dd069d2a1911a0c0042ca031f977..522e870c5aab5cd7ea97d921412ef0cc23e9f630 100644 (file)
@@ -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);
   }