1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/auth
Volker Lendecke 56df7cf3d9 auth3: fallback to "sam_ignoredomain" in make_auth3_context_for_ntlm()
This is in the spirit of the "map untrusted to domain" parameter: We
fall back to the local SAM when we get a non-authoritative NO_SUCH_USER
from our domain controller. With this change we can implement
"map untrusted to domain = auto".

We should not strictly need 'sam' before 'winbind', but it makes
it clearer to read and has the same effect.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976
BUG: https://bugzilla.samba.org/show_bug.cgi?id=8630

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Apr 10 05:04:03 CEST 2017 on sn-devel-144
2017-04-10 05:04:03 +02:00
..
auth_builtin.c s3:auth_builtin: anonymous authentication doesn't allow a password 2016-04-28 16:51:17 +02:00
auth_domain.c auth_ntdomain3: Correctly handle !authoritative 2017-03-10 03:28:26 +01:00
auth_generic.c auth: Add hooks for notification of authentication events over the message bus 2017-03-29 02:37:28 +02:00
auth_ntlmssp.c rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
auth_sam.c auth3: add "sam_netlogon3" which only reacts on lp_workgroup() as NT4 PDC/BDC 2017-04-10 01:11:20 +02:00
auth_samba4.c auth3: remove unused USER_INFO_LOCAL_SAM_ONLY/AUTH_METHOD_LOCAL_SAM handling 2017-03-24 11:57:10 +01:00
auth_script.c More strlcat/strlcpy truncate checks. 2012-03-30 21:26:07 +02:00
auth_unix.c Correct "somthing" typos. 2017-02-22 08:26:23 +01:00
auth_util.c rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
auth_winbind.c auth_winbind3: Correctly handle !authoritative 2017-03-10 03:28:26 +01:00
auth.c auth3: fallback to "sam_ignoredomain" in make_auth3_context_for_ntlm() 2017-04-10 05:04:03 +02:00
check_samsec.c auth: Use "all_zero" where appropriate 2017-01-03 16:04:28 +01:00
pampass.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01: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 rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +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 lib: Add lib/util_unixsids.h 2016-12-28 20:17:12 +01:00
token_util.c s3-auth: Split out get_user_sid_info3_and_extra() from create_local_nt_token_from_info3() 2017-03-29 02:37:26 +02:00
user_info.c rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
user_krb5.c Correct "perfom" typos. 2017-02-22 08:26:22 +01:00
user_util.c smbd: username map file handling xfile->stdio 2016-12-11 11:17:23 +01:00
wscript_build auth: Remove auth_wbc 2017-01-09 14:34:11 +01:00