From: hickert Date: Wed, 23 Jan 2008 13:53:57 +0000 (+0000) Subject: Do not copy samba SID, create a new id when user is copied. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1eb9dffb574f142b62d48680713e3f5dcf018d73;p=gosa.git Do not copy samba SID, create a new id when user is copied. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8568 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc index b01a852cc..f563e6d33 100644 --- a/plugins/personal/samba/class_sambaAccount.inc +++ b/plugins/personal/samba/class_sambaAccount.inc @@ -1122,11 +1122,15 @@ class sambaAccount extends plugin $sambafilter= array( "depselect" => $base, "regex" => "*"); register_global("sambafilter", $sambafilter); } + } + function PrepareForCopyPaste($source) + { + plugin::PrepareForCopyPaste($source); + /* Set a new SID and force a new group with new sambaPrimaryGroupSID */ + $this->sambaSID = ""; } - } - // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>