From 3005879f315197bb080ab957e5f182188131881d Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 19 Feb 2008 17:21:25 +0000 Subject: [PATCH] Save current cn to dns module git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8971 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/tabs_printers.inc | 4 ++++ gosa-plugins/goto/admin/systems/goto/tabs_terminal.inc | 1 + gosa-plugins/goto/admin/systems/goto/tabs_workstation.inc | 1 + 3 files changed, 6 insertions(+) diff --git a/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc b/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc index 739777a7e..a6985094e 100644 --- a/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc +++ b/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc @@ -38,6 +38,10 @@ class printtabs extends tabs function save_object($save_current= FALSE) { tabs::save_object($save_current); + + /* Assign current cn */ + $baseobject= $this->by_object['printgeneric']; + $baseobject->netConfigDNS->cn= $baseobject->cn; } diff --git a/gosa-plugins/goto/admin/systems/goto/tabs_terminal.inc b/gosa-plugins/goto/admin/systems/goto/tabs_terminal.inc index ea9207faf..9f806acb6 100644 --- a/gosa-plugins/goto/admin/systems/goto/tabs_terminal.inc +++ b/gosa-plugins/goto/admin/systems/goto/tabs_terminal.inc @@ -44,6 +44,7 @@ class termtabs extends tabs } $base_obj = $this->by_object['termgeneric']; + $baseobject->netConfigDNS->cn= $baseobject->cn; foreach($this->by_object as $name => $plug){ $this->by_object[$name]->cn = $base_obj->cn; } diff --git a/gosa-plugins/goto/admin/systems/goto/tabs_workstation.inc b/gosa-plugins/goto/admin/systems/goto/tabs_workstation.inc index 3d6bac27c..d2ca696aa 100644 --- a/gosa-plugins/goto/admin/systems/goto/tabs_workstation.inc +++ b/gosa-plugins/goto/admin/systems/goto/tabs_workstation.inc @@ -41,6 +41,7 @@ class worktabs extends tabs /* Assign current cn */ $baseobject= $this->by_object['workgeneric']; + $baseobject->netConfigDNS->cn= $baseobject->cn; foreach ($this->by_object as $key => $obj){ $this->by_object[$key]->cn= $baseobject->cn; } -- 2.30.2