1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/auth
Stefan Metzmacher 1957bf11f1 s3:auth: make use of make_{server,session}_info_anonymous()
It's important to have them separated from make_{server,session}_info_guest(),
because there's a fundamental difference between anonymous (the client requested
no authentication) and guest (the server lies about the authentication failure).

When it's really an anonymous connection, we should reflect that in the
resulting session info.

This should fix a problem where Windows 10 tries to join
a Samba hosted NT4 domain and has SMB2/3 enabled.

We no longer return SMB_SETUP_GUEST or SMB2_SESSION_FLAG_IS_GUEST
for true anonymous connections.

The commit message from a few commit before shows the resulting
auth_session_info change.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Mar 16 03:03:31 CET 2018 on sn-devel-144
2018-03-16 03:03:31 +01:00
..
auth_builtin.c s3:auth: make use of make_{server,session}_info_anonymous() 2018-03-16 03:03:31 +01:00
auth_generic.c auth/common: add support for auth4_ctx->check_ntlm_password_send/recv() 2017-08-07 15:20:03 +02:00
auth_ntlmssp.c s3:auth: make use of make_{server,session}_info_anonymous() 2018-03-16 03:03:31 +01:00
auth_sam.c s3:auth: Add FALL_THROUGH statements in auth_sam.c 2018-03-01 04:37:42 +01:00
auth_samba4.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_script.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_unix.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_util.c s3:auth: add make_{server,session}_info_anonymous() 2018-03-15 21:54:17 +01:00
auth_winbind.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth.c s3:auth: remove lp_auth_methods() handling 2017-12-13 20:34:24 +01:00
check_samsec.c auth: Use "all_zero" where appropriate 2017-01-03 16:04:28 +01:00
pampass.c s3:auth: Add FALL_THROUGH statements in pampass.c 2018-03-01 04:37:42 +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 s3:auth: add make_{server,session}_info_anonymous() 2018-03-15 21:54:17 +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: add create_info6_from_pac() 2018-02-10 08:35:17 +01:00
token_util.c s3:auth: remove static from finalize_local_nt_token() 2018-03-15 21:54:17 +01: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 include: Create system/nis.h in libreplace 2018-01-22 12:26:20 +01:00
wscript_build build: deal with recent glibc sunrpc header removal 2018-01-22 12:26:20 +01:00