From a1862c23346959cd0aa77653bf488e0686d14376 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 31 Jan 2010 15:18:51 +0100 Subject: [PATCH] s3: Make pdb_copy_sam_account also copy the group sid Signed-off-by: Stefan Metzmacher (cherry picked from commit b99046fed1bf4a908ed856afb17c3c934c6d305d) --- source3/passdb/passdb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index b2c3b948f1b..0255edcd17a 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -2080,6 +2080,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; } -- 2.11.4.GIT