summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 90ff419)
raw | patch | inline | side by side (parent: 90ff419)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Sep 2009 13:06:29 +0000 (13:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Sep 2009 13:06:29 +0000 (13:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14299 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index d728aa4eb391989ce237c03c69d6363656011a27..acc045d32ef05705a4ea60c619486654e2c8deb3 100644 (file)
If there is a samba host, then merge it with the opsi host,
to avoid duplicate entries.
*/
+ $oRex = preg_replace("/\*/",".*",$this->DivListSystem->Regex);
foreach($opsi_clients as $entry){
- if(isset($opsi_map[$entry['cn'][0]]) || !preg_match("/".$this->DivListSystem->Regex."/", $entry['cn'][0])){
+ if(isset($opsi_map[$entry['cn'][0]]) || !preg_match("/".preg_quote($oRex)."/", $entry['cn'][0])){
continue;
}
$terminal = $entry;