diff options
-rw-r--r-- | source3/libsmb/ntlmssp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index 920bf94df8..6815358447 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -703,9 +703,7 @@ static NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state, ntlmssp_state->session_key = session_key; } - if (!NT_STATUS_IS_OK(nt_status)) { - ntlmssp_state->session_key = data_blob_null; - } else if (ntlmssp_state->session_key.length) { + if (ntlmssp_state->session_key.length) { nt_status = ntlmssp_sign_init(ntlmssp_state); } |