From: hickert Date: Wed, 23 Jan 2008 14:55:23 +0000 (+0000) Subject: Ensure uniq SID X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=640cf4e07b5c2db5cb9c8c02e03037cf6d883367;p=gosa.git Ensure uniq SID git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8569 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc index 598cf9a10..3b638889f 100644 --- a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc +++ b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc @@ -1537,6 +1537,17 @@ class sambaAccount extends plugin } } } + + + function PrepareForCopyPaste($source) + { + plugin::PrepareForCopyPaste($source); + + /* Set a new SID and force a new group with new sambaPrimaryGroupSID */ + $this->sambaSID = ""; + print "Eloha : ".($this->gidNumber); + } + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: