diff options
author | Jeremy Allison <jra@samba.org> | 2014-03-22 21:23:48 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-03-25 16:24:13 +0100 |
commit | a9fa09723bee3588db2168ac13f7ad0334452c11 (patch) | |
tree | af422643fb5063496159baf738ca1ef2a29ad118 /source3/selftest/tests.py | |
parent | 547111b2cf94d18ae7972308161d64b5504ee9fd (diff) | |
download | samba-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 'source3/selftest/tests.py')
0 files changed, 0 insertions, 0 deletions