auth/ntlmssp: enforce NTLMSSP_NEGOTIATE_NTLM2 for the NTLMv2 client case
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Jun 2017 11:16:03 +0000 (13:16 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 26 Jun 2017 21:16:13 +0000 (23:16 +0200)
commit8ee4f8236830eb3fa1b273fa6927792a800f86bd
tree76cc11b54966b3330abdc2878877ee075e18ad8f
parentacc16592b451905dabc093f1d261e93cd3b59520
auth/ntlmssp: enforce NTLMSSP_NEGOTIATE_NTLM2 for the NTLMv2 client case

Some servers may not announce the NTLMSSP_NEGOTIATE_NTLM2
(a.k.a. NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY) bit.

But if we're acting as a client using NTLMv2 we need to
enforce this flag, because it's not really a negotiationable
in that case.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
auth/ntlmssp/ntlmssp_util.c