From: cajus Date: Wed, 9 Apr 2008 13:06:09 +0000 (+0000) Subject: Updated workstation startup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a2056679fabcdaa5bdbe27659f7486f53c29b45;p=gosa.git Updated workstation startup -Send reload_ldap event for servers too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10303 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index 24bb9adb1..bcbccbd9b 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -942,6 +942,14 @@ class workstartup extends plugin if(!empty($mac)){ $macs[] = $mac; } + }elseif(isset($this->parent->by_object['servgeneric']->netConfigDNS->macAddress)){ + + /* We are a server. Add current mac. + */ + $mac = $this->parent->by_object['servgeneric']->netConfigDNS->macAddress; + if(!empty($mac)){ + $macs[] = $mac; + } } /* Trigger event for all member objects