1
0
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:
Stefan Metzmacher 2010-03-11 11:31:36 +01:00
parent 9e0557a149
commit 7be154a616

View File

@ -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),