From: cajus Date: Tue, 9 May 2006 12:59:39 +0000 (+0000) Subject: Added macAddress to the attributes to be replaced X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=88d4a77d88ade1ad1d9f4782caa3b19b92ababba;p=gosa.git Added macAddress to the attributes to be replaced git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3236 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/TODO b/TODO index 8e1b3eccc..f55504667 100644 --- a/TODO +++ b/TODO @@ -5,11 +5,9 @@ Target for 2.4.1: * saveFilter added, please use! -* Added functions normalizePreg and normalizeLdap. Please use where needed! - * generatePasteIcon added, please use! -* Create a status-bar/-display for FAI installations +* Added functions normalizePreg and normalizeLdap. Please use where needed! * Add online help (english/german) Document how to generate it, generate it and check it in @@ -28,9 +26,10 @@ Target for 2.4.1: * Auto-Resize for subdialogs -* Fix fai objects to generate tags if needed (sub objects) -* Add macAddress replacement for tc's and servers, too +* Create a status-bar/-display for FAI installations + +* Fix fai objects to generate tags if needed (sub objects) * What about unitTag's when moving objects? diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc index ad47160ae..a969b4440 100644 --- a/plugins/admin/systems/class_servGeneric.inc +++ b/plugins/admin/systems/class_servGeneric.inc @@ -178,7 +178,7 @@ class servgeneric extends plugin unset($og->member[$this->dn]); $og->save (); } - $this->handle_post_events("remove"); + $this->handle_post_events("remove", array("macAddress" => $this->netConfigDNS->macAddress)); } diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc index b30922317..c3a227a32 100644 --- a/plugins/admin/systems/class_terminalGeneric.inc +++ b/plugins/admin/systems/class_terminalGeneric.inc @@ -266,7 +266,7 @@ class termgeneric extends plugin show_ldap_error($ldap->get_error()); /* Optionally execute a command after we're done */ - $this->handle_post_events("remove"); + $this->handle_post_events("remove", array("macAddress" => $this->netConfigDNS->macAddress)); /* Delete references to object groups */ $ldap->cd ($this->config->current['BASE']);