diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/ntp/ntp_signd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/ntp/ntp_signd.c b/source4/torture/ntp/ntp_signd.c index 763563263b..1d8d7e88e5 100644 --- a/source4/torture/ntp/ntp_signd.c +++ b/source4/torture/ntp/ntp_signd.c @@ -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), |