commit 989793af3151fca03f6913c1234c2642b265b231 Author: Derek Schrock Date: Sun Apr 17 18:42:53 2016 -0400 Only Validate MIC if "map to guest" is not Never diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c index 17d5ade..2eaa27d 100644 --- a/auth/ntlmssp/ntlmssp_server.c +++ b/auth/ntlmssp/ntlmssp_server.c @@ -870,7 +870,7 @@ static NTSTATUS ntlmssp_server_postauth(struct gensec_security *gensec_security, talloc_steal(ntlmssp_state, session_key.data); } - if (ntlmssp_state->new_spnego) { + if (!ntlmssp_state->force_old_spnego) { HMACMD5Context ctx; uint8_t mic_buffer[NTLMSSP_MIC_SIZE] = { 0, }; int cmp;