diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-12-08 13:59:42 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-03-10 06:52:28 +0100 |
commit | efd4986794889f1315dbd011b94b8673d785053a (patch) | |
tree | 822c9b8efc4553f28cecb0c0f99a11e0bf414fba /auth/ntlmssp | |
parent | afba38dbf5c954abbcfc485a81f510255b69a426 (diff) | |
download | samba-efd4986794889f1315dbd011b94b8673d785053a.tar.gz |
auth/ntlmssp: set NTLMSSP_ANONYMOUS for anonymous authentication
This matches a modern Windows client.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'auth/ntlmssp')
-rw-r--r-- | auth/ntlmssp/ntlmssp_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/ntlmssp/ntlmssp_client.c b/auth/ntlmssp/ntlmssp_client.c index 114f8b0ec68..afd5a002d19 100644 --- a/auth/ntlmssp/ntlmssp_client.c +++ b/auth/ntlmssp/ntlmssp_client.c @@ -359,6 +359,7 @@ NTSTATUS ntlmssp_client_challenge(struct gensec_security *gensec_security, } if (is_anonymous) { + ntlmssp_state->neg_flags |= NTLMSSP_ANONYMOUS; /* * don't use the ccache for anonymous auth */ |