summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9545fb1)
raw | patch | inline | side by side (parent: 9545fb1)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Feb 2008 17:21:25 +0000 (17:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Feb 2008 17:21:25 +0000 (17:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8971 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc b/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc
index 739777a7ed8e4a5cb7239023cfdd7e04426ac08b..a6985094e90562ab3f9d6aea05fc698954326a51 100644 (file)
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 ea9207faf4b6433982241105e963f5255d1c3373..9f806acb6d80f91dc5cdc477acbbfe2700afb34a 100644 (file)
}
$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 3d6bac27c5134dcca4e9f1a8308fcac61a13ef84..d2ca696aa8ac7356847064d2f5cb780991062865 100644 (file)
/* 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;
}