From: Volker Lendecke Date: Sun, 31 Jan 2010 14:18:51 +0000 (+0100) Subject: s3: Make pdb_copy_sam_account also copy the group sid X-Git-Tag: samba-3.6.0pre1~5529 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b99046fed1bf4a908ed856afb17c3c934c6d305d;p=thirdparty%2Fsamba.git s3: Make pdb_copy_sam_account also copy the group sid Signed-off-by: Stefan Metzmacher --- diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 3ced1508037..ecb609ad5c7 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -2079,6 +2079,10 @@ bool pdb_copy_sam_account(struct samu *dst, struct samu *src ) } } + if (src->group_sid) { + pdb_set_group_sid(dst, src->group_sid, PDB_SET); + } + free(buf); return True; }