Factor out common code in the NTLMSSP/SPNEGO code.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2003 03:37:14 +0000 (03:37 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2003 03:37:14 +0000 (03:37 +0000)
commitdc4bb3bed82773ab0a07eb72b3d21305cccb6ecf
treeacda990f09f7037583408e4696458250eb2d0407
parent99bb7dccb29f44d7edeb0fca3f8cfc01bda03281
Factor out common code in the NTLMSSP/SPNEGO code.

The idea here is to seperate, as much as possible, the SPNEGO layer from the
NTLMSSP layer.  This not only helps us with protocol correctness, but also
should allow further mechinisms to be added with relitive ease.  I indend to
make the kerberos code use this shortly.

I've never seen the 'zero length blob' form of the anonymous login, so I've
removed that case.

Andrew Bartlett
(This used to be commit a8773c9f825539c5bc17e4200b16d7ebbe0b7620)
source3/include/asn_1.h
source3/libsmb/clispnego.c
source3/libsmb/ntlmssp.c
source3/smbd/sesssetup.c