summaryrefslogtreecommitdiffstats
path: root/source4/selftest/tests.py
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-03-22 21:23:48 -0700
committerJeremy Allison <jra@samba.org>2014-03-25 16:24:13 +0100
commita9fa09723bee3588db2168ac13f7ad0334452c11 (patch)
treeaf422643fb5063496159baf738ca1ef2a29ad118 /source4/selftest/tests.py
parent547111b2cf94d18ae7972308161d64b5504ee9fd (diff)
downloadsamba-a9fa09723bee3588db2168ac13f7ad0334452c11.tar.gz
samba-a9fa09723bee3588db2168ac13f7ad0334452c11.tar.xz
samba-a9fa09723bee3588db2168ac13f7ad0334452c11.zip
s3: smbd: Factor out code that calls getgroups_unix_user() into a separate function.
This code needs to special-case the guest user, as this token can have the token_sid[0] set to the Guest SID, not the mapping of UNIX uid -> SID. Other users that may have a well-known SID set in token_sid[0] (like SYSTEM) are usually not mappable to UNIX users and can be ignored when adding local groups from /etc/group. Found by <linux@kukkukk.com>. Second part of the bugfix for: https://bugzilla.samba.org/show_bug.cgi?id=10508 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest/tests.py')
0 files changed, 0 insertions, 0 deletions