From 9a2056679fabcdaa5bdbe27659f7486f53c29b45 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 9 Apr 2008 13:06:09 +0000 Subject: [PATCH] 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 --- .../goto/admin/systems/goto/class_workstationStartup.inc | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.30.2