summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-11 11:31:36 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-12 15:25:52 +0100
commit7be154a6168bd1bb49d776599b9ede0826835c66 (patch)
treea427691a533eb2a76a792fa81d8115fd046639f1
parent9e0557a14975375596e7ed89c7ed70b85116e7fc (diff)
downloadsamba-7be154a6168bd1bb49d776599b9ede0826835c66.tar.gz
samba-7be154a6168bd1bb49d776599b9ede0826835c66.tar.bz2
samba-7be154a6168bd1bb49d776599b9ede0826835c66.zip
s4:torture/ntp: make use of dcerpc_binding_handle stubs
metze
-rw-r--r--source4/torture/ntp/ntp_signd.c4
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),