diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-31 15:18:51 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-08 11:23:23 +0100 |
commit | b99046fed1bf4a908ed856afb17c3c934c6d305d (patch) | |
tree | d3591878935b80a5ccd0d6fa7b2df0eab3abf150 | |
parent | 779821df8ecfe3ed2392582b500d26332f0b80fc (diff) | |
download | samba-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>
-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 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; } |