1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/auth
Michael Adam e5649ef6ee smbd: fix creation of BUILTIN\{Administrators,Users} when "tdbsam:map builtin = false"
In this case, passdb/group mapping is not responsible for the id mapping
of the builtins, so the check whether the SID maps to a unix ID is not
valid for checking whether the builtin has been created as a proper group.
So this patch changes the check to whether we find the builtin in the group
mapping database.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon May 19 16:41:41 CEST 2014 on sn-devel-104
2014-05-19 16:41:41 +02: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 auth: Allow auth_samba4 to be forced to run a specific auth module 2014-05-16 10:23:26 +02:00
auth_ntlmssp.c s3:auth: allow special SYSTEM and ANONYMOUS handling in auth3_generate_session_info() 2014-04-24 11:21:05 +02: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 auth: Allow auth_samba4 to be forced to run a specific auth module 2014-05-16 10:23:26 +02: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: Finally change make_user_info_*() use a parent talloc context 2014-04-02 11:05:46 +02: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 s3-auth: Do not reset bad password count to 0 if account is disabled 2014-04-02 17:12:45 +02: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 support for HAVE_TRUNCATED_SALT from pass_check.c 2014-04-15 12:32:09 +02:00
proto.h auth: Move wbcAuthUserInfo_to_netr_SamInfo3 to the top level 2014-04-18 20:08:09 +02:00
server_info_sam.c s3-auth: Steal the memory to avoid duplication. 2014-03-13 15:08:26 +01:00
server_info.c auth: Move wbcAuthUserInfo_to_netr_SamInfo3 to the top level 2014-04-18 20:08:09 +02:00
token_util.c smbd: fix creation of BUILTIN\{Administrators,Users} when "tdbsam:map builtin = false" 2014-05-19 16:41:41 +02:00
user_info.c s3-auth: Finally change make_user_info_*() use a parent talloc context 2014-04-02 11:05:46 +02: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