diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-31 15:18:51 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2010-02-15 14:46:54 +0100 |
commit | bece99d4ea7c6812b73967d024f1ed13fdc7de1b (patch) | |
tree | 66b5737f085db71370ce49a6bb17ec8b53df84b4 | |
parent | 35752c0aace9015f7e856ecbce59ed6f0a3e3a19 (diff) | |
download | samba-bece99d4ea7c6812b73967d024f1ed13fdc7de1b.tar.gz samba-bece99d4ea7c6812b73967d024f1ed13fdc7de1b.tar.xz samba-bece99d4ea7c6812b73967d024f1ed13fdc7de1b.zip |
s3: Make pdb_copy_sam_account also copy the group sid
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit b99046fed1bf4a908ed856afb17c3c934c6d305d)
(cherry picked from commit a1862c23346959cd0aa77653bf488e0686d14376)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 66b472fdd6e55550abe4db04b0666d56ec700a0e)
-rw-r--r-- | source3/passdb/passdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index aad16daf95e..6ba67ef9a73 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -2077,6 +2077,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; } |