summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-31 15:18:51 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-08 11:23:23 +0100
commitb99046fed1bf4a908ed856afb17c3c934c6d305d (patch)
treed3591878935b80a5ccd0d6fa7b2df0eab3abf150 /source3/passdb
parent779821df8ecfe3ed2392582b500d26332f0b80fc (diff)
downloadsamba-b99046fed1bf4a908ed856afb17c3c934c6d305d.tar.gz
samba-b99046fed1bf4a908ed856afb17c3c934c6d305d.tar.bz2
samba-b99046fed1bf4a908ed856afb17c3c934c6d305d.zip
s3: Make pdb_copy_sam_account also copy the group sid
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 3ced150803..ecb609ad5c 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;
}