Code

Updated system listing
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Sep 2009 08:43:59 +0000 (08:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Sep 2009 08:43:59 +0000 (08:43 +0000)
-Respect user-filter (regex) for listed opsi hosts.

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

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

index f60c5ce96f2b241097b2da4b42ed8162a6d25468..df39a9c3c796e5804407eef009dae0a7080d1d27 100644 (file)
@@ -1468,7 +1468,7 @@ class systems extends plugin
         to avoid duplicate entries.
      */
     foreach($opsi_clients as $entry){
-      if(isset($opsi_map[$entry['cn'][0]])){
+      if(isset($opsi_map[$entry['cn'][0]]) || !preg_match("/".$this->DivListSystem->Regex."/", $entry['cn'][0])){
         continue;
       }
       $terminal             = $entry;