We now have client-side SMB signing support!
authorAndrew Bartlett <abartlet@samba.org>
Sat, 1 Feb 2003 13:01:31 +0000 (13:01 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 1 Feb 2003 13:01:31 +0000 (13:01 +0000)
commit1a2738937e3d80b378bd0ed33cd8d395fba2d3c3
treee154bf9d9a4b30561750cfe50f5a67ddd29192a7
parentdbb29495e7cd94b4ad07efd656d021d9551f5eb6
We now have client-side SMB signing support!

This checking allows us to connect to Microsoft servers the use SMB signing,
within a few restrictions:

 - I've not get the NTLMSSP stuff going - it appears to work, but if you break
the sig - say by writing a zero in it - it still passes...
 - We don't currently verfiy the server's reply
 - It works against one of my test servers, but not the other...

However, it provides an excellent basis to work from.  Enable it with 'client
signing' in your smb.conf.

Doc to come (tomorrow) and this is not for 3.0, till we get it complete.

The CIFS Spec is misleading - the session key (for NTLMv1 at least) is the
standard session key, ie MD4(NT#).

Thanks to jra for the early work on this.

Andrew Bartlett
source/include/client.h
source/libsmb/cliconnect.c
source/libsmb/clientgen.c
source/libsmb/smbencrypt.c
source/param/loadparm.c