auth/ntlmssp: set NTLMSSP_ANONYMOUS for anonymous authentication
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Dec 2015 12:59:42 +0000 (13:59 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 05:52:28 +0000 (06:52 +0100)
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>
auth/ntlmssp/ntlmssp_client.c

index 114f8b0ec68c3434443ac917c013587d6965571b..afd5a002d193ac5f9651d77f44652e60a149ecec 100644 (file)
@@ -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
                 */