From 640cf4e07b5c2db5cb9c8c02e03037cf6d883367 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 23 Jan 2008 14:55:23 +0000 Subject: [PATCH] Ensure uniq SID git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8569 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../samba/personal/samba/class_sambaAccount.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) 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: -- 2.30.2