summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ffe43fa)
raw | patch | inline | side by side (parent: ffe43fa)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 8 Jul 2009 16:30:37 +0000 (16:30 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 8 Jul 2009 16:30:37 +0000 (16:30 +0000) |
- Take other CopyPasteVars in account, too, when preparing
for copy & paste, because otherwise some values might
be missing, leading to strange effects.
- Remove sambaGroupType from CopyPasteVars because it leads
to an access violation when saving the object, although
the sambaGroupType is saved properly in the resulting
object (identical to the value in the previous object)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13914 594d385d-05f5-0310-b6e9-bd551577e9d8
for copy & paste, because otherwise some values might
be missing, leading to strange effects.
- Remove sambaGroupType from CopyPasteVars because it leads
to an access violation when saving the object, although
the sambaGroupType is saved properly in the resulting
object (identical to the value in the previous object)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13914 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc | patch | blob | history |
diff --git a/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc
index 3d611352aa21960e3a7b655ba85b8d6cc5f0235b..50d0673bb16be3a2923cba39a5c1aff5cf501172 100644 (file)
var $attributes= array("cn", "description", "gidNumber","memberUid","sambaGroupType","sambaSID","accessTo","trustModel");
var $objectclasses= array("top", "posixGroup");
- var $CopyPasteVars = array("force_gid","fon_group","smbgroup","groupType","sambaSID","sambaDomainName","SID","nagios_group","sambaGroupType");
+ var $CopyPasteVars = array("force_gid","fon_group","smbgroup","groupType","sambaSID","sambaDomainName","SID","nagios_group");
var $multiple_support = TRUE;
plugin::PrepareForCopyPaste($source);
$source_o = new group($this->config, $source['dn']);
- $this->smbgroup = $source_o->smbgroup;
+ foreach($this->CopyPasteVars as $var) {
+ $this->$var = $source_o->$var;
+ }
$this->memberUid = array();
if(isset($source['memberUid'])){