auth/ntlmssp: enforce NTLMSSP_NEGOTIATE_NTLM2 for the NTLMv2 client case
commitf625a639e75f5b3a20eb5e35ef1c6fdd9745b50e
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Jun 2017 11:16:03 +0000 (24 13:16 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 28 Jun 2017 13:19:53 +0000 (28 15:19 +0200)
tree646481e4cd6593de8ea3c4650d5cad68f268d920
parent8aea504d02800fa968a8d13de86134e128244f5d
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>
(cherry picked from commit 8ee4f8236830eb3fa1b273fa6927792a800f86bd)

Autobuild-User(v4-6-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-6-test): Wed Jun 28 15:19:53 CEST 2017 on sn-devel-144
auth/ntlmssp/ntlmssp_util.c