Finally get NTLMv2 working on the client!
authorAndrew Bartlett <abartlet@samba.org>
Fri, 9 May 2003 14:42:20 +0000 (14:42 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 May 2003 14:42:20 +0000 (14:42 +0000)
commit9f6a26769d345d319ec167cd0e82a45e1207ed81
tree7f6386d79dff9213986e1d59547d13e804974305
parentdcc6d9e76c737400aaffdd4f261fd0f191aaeea8
Finally get NTLMv2 working on the client!

With big thanks to tpot for the ethereal disector, and for the base code
behind this, we now fully support NTLMv2 as a client.

In particular, we support it with direct domain logons (tested with ntlm_auth
--diagnostics), with 'old style' session setups, and with NTLMSSP.

In fact, for NTLMSSP we recycle one of the parts of the server's reply directly...

(we might need to parse for unicode issues later).

In particular, a Win2k domain controller now supplies us with a session key
for this password, which means that doman joins, and non-spnego SMB signing
are now supported with NTLMv2!

Andrew Bartlett
source/libsmb/cliconnect.c
source/libsmb/ntlmssp.c
source/libsmb/smbencrypt.c
source/utils/ntlm_auth.c