1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source3/auth
Jeremy Allison a9fa09723b 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>
2014-03-25 16:24:13 +01:00
..
auth_builtin.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
auth_domain.c s3:auth_domain: make use of rpccli_netlogon_network_logon() 2014-01-07 12:47:09 +01:00
auth_generic.c s3-auth: register schannel gensec module in auth_generic_prepare() as well. 2013-09-19 11:09:32 +02:00
auth_ntlmssp.c s3-auth: Pass mem_ctx to do_map_to_guest_server_info(). 2014-02-19 01:28:14 +01:00
auth_sam.c auth: Ensure auth_sam is not used on the AD DC 2013-05-16 22:51:26 +02:00
auth_samba4.c Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
auth_script.c More strlcat/strlcpy truncate checks. 2012-03-30 21:26:07 +02:00
auth_unix.c s3-auth: Pass talloc context to make_server_info_pw(). 2014-02-05 11:41:25 +13:00
auth_util.c s3-auth: Pass mem_ctx to do_map_to_guest_server_info(). 2014-02-19 01:28:14 +01:00
auth_wbc.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth_winbind.c BUG 9817: Fix 'map untrusted to domain' with NTLMv2. 2013-04-24 17:14:48 +02:00
auth.c s3-auth: Pass mem_ctx to auth_check_ntlm_password(). 2014-02-19 11:29:29 +13:00
check_samsec.c CVE-2013-4496:s3:auth: fix memory leak in the ACCOUNT_LOCKED_OUT case. 2014-03-13 10:21:47 +01:00
pampass.c s3:auth: use const in smb_pam_xxx_session() 2012-10-19 12:14:58 +02:00
pass_check.c auth: Remove "password level" 2013-06-11 08:35:21 -04:00
proto.h s3-auth: Pass mem_ctx to do_map_to_guest_server_info(). 2014-02-19 01:28:14 +01:00
server_info_sam.c s3-auth: Steal the memory to avoid duplication. 2014-03-13 15:08:26 +01:00
server_info.c s3-auth: Make is_null_sid() check easier to read. 2014-03-13 15:08:26 +01:00
token_util.c s3: smbd: Factor out code that calls getgroups_unix_user() into a separate function. 2014-03-25 16:24:13 +01:00
user_info.c Remove a number of NT_STATUS_HAVE_NO_MEMORY_AND_FREE macros from the codebase. 2014-03-05 16:33:21 +01:00
user_krb5.c s3-auth: Pass mem_ctx to make_server_info_sam(). 2014-02-19 11:29:29 +13:00
user_util.c lib: Use "mem_ctx" arg in gencache_get 2013-09-05 20:09:21 +02:00
wscript_build build: get rid of vars=locals() in source3/auth/wscript_build 2013-09-24 23:00:31 +02:00