Code

Apply patch for #3736
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Feb 2010 14:35:32 +0000 (14:35 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Feb 2010 14:35:32 +0000 (14:35 +0000)
Copy & Paste needs to copy the gotoLDAPServers and gotoLDAPInherit
attributes, otherwise active workstations can not be copied.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15713 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 1460629097d3757677d1313780411bb1f15c4da3..e4749fb1fa02c9cec02b6d1a8e1c0cf8f7a89f61 100644 (file)
@@ -991,7 +991,7 @@ class workstartup extends plugin
     plugin::PrepareForCopyPaste($source);    
     $source_o = new workstartup ($this->config, $source['dn']);
     foreach(array("FAIclass","gotoModules", "gotoAutoFs", "gotoFilesystem",
-          "gotoKernelParameters","gotoShares") as $attr){
+          "gotoKernelParameters","gotoShares","gotoLdapServers", "gotoLdap_inherit") as $attr){
       $this->$attr = $source_o->$attr;
     }
   }