Add support for NTLMv2 (tested!) with NTLMSSP.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 26 May 2002 14:59:57 +0000 (14:59 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 26 May 2002 14:59:57 +0000 (14:59 +0000)
commit069e6fb9eb4a0bf6720cbbf493d0cb36baac9580
tree27461d24724e16992e070157d7ff1e22d2b0e50f
parent34728ec659751f2e14cfb8502300f3fdb96d405a
Add support for NTLMv2 (tested!) with NTLMSSP.

The problem was the NTLMv2 uses extra data in order to make reply/lookup
more difficult.  That extra data includes the hostname, and the domain.

This matches Win2k (sort of) by sending this information.

Win2k connects with LMCompatibilityLevel=5 without a problem.

We can change the negotiation bits if we want, this should allow us to make
NTLMv2 the default for other clients as well.

Some of the extra #defines were found in the squid source.

Andrew Bartlett
(This used to be commit 17a5f67b3d1935baf6197ae967624eb847b66ac8)
source3/include/rpc_dce.h
source3/libsmb/clispnego.c
source3/smbd/sesssetup.c