mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
CVE-2016-2111: s4:torture/rpc: fix rpc.samba3.netlogon ntlmv2 test
The computer name of the NTLMv2 blob needs to match the schannel connection. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11749 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
630e39db07
commit
7434b8d6a0
@ -1189,8 +1189,8 @@ static bool schan(struct torture_context *tctx,
|
||||
generate_random_buffer(chal.data, chal.length);
|
||||
names_blob = NTLMv2_generate_names_blob(
|
||||
mem_ctx,
|
||||
cli_credentials_get_workstation(user_creds),
|
||||
cli_credentials_get_domain(user_creds));
|
||||
cli_credentials_get_workstation(wks_creds),
|
||||
cli_credentials_get_domain(wks_creds));
|
||||
status = cli_credentials_get_ntlm_response(
|
||||
user_creds, mem_ctx, &flags, chal, NULL, names_blob,
|
||||
&lm_resp, &nt_resp, NULL, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user