Updates to our NTLMSSP code:
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 Jan 2003 12:48:37 +0000 (12:48 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 13 Jan 2003 12:48:37 +0000 (12:48 +0000)
commite3293c7181525a069d2006c29792a1a805d93ee0
tree4add29cef59abf76f430a012fb37fff9afc7a064
parent20ecae9a5888c168ad05cb26d1177061f3f9378f
Updates to our NTLMSSP code:

This tries to extract our server-side code out of sessetup.c, and into a more
general lib.  I hope this is only a temporay resting place - I indend to
refactor it again into an auth-subsystem independent lib, using callbacks.

Move some of our our NTLMSSP #defines into a new file, and add two that I found
in the COMsource docs - we seem to have a double-up, but I've verified from
traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real.

This code also copes with ASCII clients - not that we will ever see any here,
but I hope to use this for HTTP, were we can get them.  Win2k authenticates
fine under forced ASCII, btw.

Tested with Win2k, NTLMv2 and Samba's smbclient.

Andrew Bartlett
(This used to be commit b6641badcbb2fb3bfec9d00a6466318203ea33e1)
source3/Makefile.in
source3/auth/auth.c
source3/auth/auth_ntlmssp.c [new file with mode: 0644]
source3/include/includes.h
source3/include/ntlmssp.h [new file with mode: 0644]
source3/include/rpc_dce.h
source3/libsmb/asn1.c
source3/libsmb/cliconnect.c
source3/libsmb/clispnego.c
source3/smbd/sesssetup.c