diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-01-28 03:37:14 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-01-28 03:37:14 +0000 |
commit | a8773c9f825539c5bc17e4200b16d7ebbe0b7620 (patch) | |
tree | 1c0b77c9cfafa2e2eb50219e3099055f091ebadc /source/libsmb/ntlmssp.c | |
parent | 9180e2d062ac18dc5e7e8d0737973dc9e806e412 (diff) | |
download | samba-a8773c9f825539c5bc17e4200b16d7ebbe0b7620.tar.gz samba-a8773c9f825539c5bc17e4200b16d7ebbe0b7620.tar.xz samba-a8773c9f825539c5bc17e4200b16d7ebbe0b7620.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
Diffstat (limited to 'source/libsmb/ntlmssp.c')
-rw-r--r-- | source/libsmb/ntlmssp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/libsmb/ntlmssp.c b/source/libsmb/ntlmssp.c index 6837674736a..5b608e0a7a9 100644 --- a/source/libsmb/ntlmssp.c +++ b/source/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; |