1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

For NTLM2 (not yet even close to real implementation) we must use the

server hash for checking the server's signiture.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett -
parent c11465b285
commit 61255a2b36

View File

@ -121,7 +121,7 @@ static NTSTATUS ntlmssp_make_packet_signiture(NTLMSSP_CLIENT_STATE *ntlmssp_stat
NTLMSSPcalc_ap(ntlmssp_state->cli_sign_hash, sig->data, sig->length);
break;
case NTLMSSP_RECEIVE:
NTLMSSPcalc_ap(ntlmssp_state->cli_sign_hash, sig->data, sig->length);
NTLMSSPcalc_ap(ntlmssp_state->srv_sign_hash, sig->data, sig->length);
break;
}
} else {