mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s4:torture/ntp: make use of dcerpc_binding_handle stubs
metze
This commit is contained in:
parent
9e0557a149
commit
7be154a616
@ -97,7 +97,7 @@ static bool test_ntp_signd(struct torture_context *tctx,
|
||||
|
||||
generate_random_buffer(credentials1.data, sizeof(credentials1.data));
|
||||
|
||||
status = dcerpc_netr_ServerReqChallenge(p, tctx, &r);
|
||||
status = dcerpc_netr_ServerReqChallenge_r(p->binding_handle, tctx, &r);
|
||||
torture_assert_ntstatus_ok(tctx, status, "ServerReqChallenge");
|
||||
|
||||
a.in.server_name = NULL;
|
||||
@ -120,7 +120,7 @@ static bool test_ntp_signd(struct torture_context *tctx,
|
||||
|
||||
torture_comment(tctx, "Testing ServerAuthenticate3\n");
|
||||
|
||||
status = dcerpc_netr_ServerAuthenticate3(p, tctx, &a);
|
||||
status = dcerpc_netr_ServerAuthenticate3_r(p->binding_handle, tctx, &a);
|
||||
torture_assert_ntstatus_ok(tctx, status, "ServerAuthenticate3");
|
||||
torture_assert(tctx,
|
||||
netlogon_creds_client_check(creds, &credentials3),
|
||||
|
Loading…
x
Reference in New Issue
Block a user