[PATCH] Add NTLMv2 support for Samba HEAD

Andrew Bartlett abartlet at pcug.org.au
Sat Jun 16 05:42:47 GMT 2001

Tim, I noticed you have started merging some of the smbencrypt.c stuff
over from TNG, so I decided to look at how much was left to do NTLMv2. 
This is the stuff I was working on when I was last in the office.

In any case, the patch is now quite small.  This code was tested with
TNG's smbclient, but I didn't get a chance to test with anything else
before I had to leave.

The major issue with the previous incarnation of this patch (a few
months ago) was the licensing of the md5 code, which is now resolved. 
The only remaining issue is big/little edeinness, but I'm not an expert
in that area (lib/md5.c is where to look).

This patch adds NTLMv2 for reply.c server functionality only, I will add
domain login support when I rewrite the whole thing (I'm not going to do
it twice...).  We also need to do client support, which I have not even
looked at.

Hope its useful.

Andrew Bartlett

Andrew Bartlett
abartlet at pcug.org.au

More information about the samba-technical mailing list