diff --git a/trunk/gosa-plugins/goto/addons/goto/events/class_EventTargetAddList.inc b/trunk/gosa-plugins/goto/addons/goto/events/class_EventTargetAddList.inc
index 387fccf1e2088d5630f85e6f2d357cb591c17af0..88f80a42a35f027e3ea0996aec651347fd9e9fcf 100644 (file)
$_target_list = array_merge($_target_list,
get_sub_list("(&(cn=".$this->regex.")(objectClass=goServer))",
"server",get_ou("serverRDN"),$this->selectedBase,
- array("cn","objectClass","description","ipHostNumber","macAddress"),GL_SUBSEARCH));
+ array("cn","objectClass","description","ipHostNumber","macAddress", "FAIclass"),GL_SUBSEARCH));
}
}
if($this->display_workstation){
continue;
}
}elseif(in_array("gosaGroupOfNames",$obj['objectClass'])){
+ /* Do not show object groups if ip or mac filter is enabled */
+ if($this->filter_iprange || $this->filter_mac_addr) {
+ continue;
+ }
+
if($this->filter_fai_release) {
if (isset($obj['FAIclass'])) {
$fai_release = split(':', $obj['FAIclass'][0]);