summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-28 03:37:14 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-28 03:37:14 +0000
commitdc4bb3bed82773ab0a07eb72b3d21305cccb6ecf (patch)
treeacda990f09f7037583408e4696458250eb2d0407 /source3/libsmb/ntlmssp.c
parent99bb7dccb29f44d7edeb0fca3f8cfc01bda03281 (diff)
downloadsamba-dc4bb3bed82773ab0a07eb72b3d21305cccb6ecf.tar.gz
samba-dc4bb3bed82773ab0a07eb72b3d21305cccb6ecf.tar.bz2
samba-dc4bb3bed82773ab0a07eb72b3d21305cccb6ecf.zip
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)
Diffstat (limited to 'source3/libsmb/ntlmssp.c')
-rw-r--r--source3/libsmb/ntlmssp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 6837674736..5b608e0a7a 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -275,10 +275,6 @@ NTSTATUS ntlmssp_auth(NTLMSSP_STATE *ntlmssp_state,
nt_status = ntlmssp_state->check_password(ntlmssp_state);
- if (!NT_STATUS_IS_OK(nt_status)) {
- return nt_status;
- }
-
*reply = data_blob(NULL, 0);
return nt_status;