r1439: Once we are authenticated, always return NT_STATUS_OK. (Makes SPENGO
authorAndrew Bartlett <abartlet@samba.org>
Sun, 11 Jul 2004 10:26:50 +0000 (10:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:56 +0000 (12:56 -0500)
easier to code, as it may return an 'ok' with an empty blob).

Andrew Bartlett

source/libcli/auth/ntlmssp.c

index 6830db3f901363cd3f554976388d347e59d2810c..3c656f4e9e5dc4cb2002226d394fa52114b42386 100644 (file)
@@ -228,7 +228,7 @@ NTSTATUS ntlmssp_update(struct ntlmssp_state *ntlmssp_state,
        *out = data_blob(NULL, 0);
 
        if (ntlmssp_state->expected_state == NTLMSSP_DONE) {
-               return NT_STATUS_INVALID_PARAMETER;
+               return NT_STATUS_OK;
        }
 
        if (!out_mem_ctx) {