Code

Updated opsi clinet handling.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Aug 2008 09:45:03 +0000 (09:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Aug 2008 09:45:03 +0000 (09:45 +0000)
- Do not add opsi client if there is a samba client with the same name

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12292 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index ce07763de61369b2766ef845daaf3796ba562e25..b85c44626bc3fad728d987d8b746ab082aa5e59b 100644 (file)
@@ -1343,7 +1343,7 @@ class systems extends plugin
       if(count($terminal)){
         $t_id ++ ;
         $this->terminals[$t_id]=$terminal;
-        $opsi_map[$value['cn'][0]] = $t_id;
+        $opsi_map[preg_replace('/\$$/',"",$value['cn'][0])] = $t_id;
       }
     }