diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-11-25 06:54:22 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-11-25 06:54:22 +0000 |
commit | af365408d5056ea5eeaafd5df23196d9ba19de58 (patch) | |
tree | 012d04940fed93eb52889723e66d1fb12a4f08d1 /testsuite/smbd/sec_ctx_nonroot.c | |
parent | edc8dda5c0b2703ef5d3c2fe8709da97e94e287f (diff) | |
download | samba-af365408d5056ea5eeaafd5df23196d9ba19de58.tar.gz samba-af365408d5056ea5eeaafd5df23196d9ba19de58.tar.bz2 samba-af365408d5056ea5eeaafd5df23196d9ba19de58.zip |
Instead of walking the entire group database, grabbing all members of each
group, testing for membership etc, use the already calculated NT_USER_TOKEN.
(which is initgroups() based)
So far we only fill out the 'domain' groups - we need to fill out the
'other sids' as well, and we possibly need to filter the list for 'domain
groups' only (the old code did that), but Win2k doesn't seem to mind
this for now.
I also need to find out what the magic '7' is about. Fortunetly JF is in town,
so I'll grill him tomorrow :-).
Andrew Bartlett
(This used to be commit 7e846e7387247f8bc2b07a1a1006014c6978143b)
Diffstat (limited to 'testsuite/smbd/sec_ctx_nonroot.c')
0 files changed, 0 insertions, 0 deletions