summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-17 12:06:05 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-17 18:26:22 +0100
commitf400fc54bce0f2fda5ce98238439f69283da91ac (patch)
tree0be8364d969685f1740a8633da7905c40ca56589
parent6e8fd4df6078cb426a1a9233f796532590c2387f (diff)
downloadsamba-f400fc54bce0f2fda5ce98238439f69283da91ac.tar.gz
samba-f400fc54bce0f2fda5ce98238439f69283da91ac.tar.bz2
samba-f400fc54bce0f2fda5ce98238439f69283da91ac.zip
s4:torture/rpc/dssetup.c: make use of dcerpc_binding_handle stubs
metze
-rw-r--r--source4/torture/rpc/dssetup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/dssetup.c b/source4/torture/rpc/dssetup.c
index f52aa9fb90..f4947ff7c4 100644
--- a/source4/torture/rpc/dssetup.c
+++ b/source4/torture/rpc/dssetup.c
@@ -31,12 +31,13 @@ bool test_DsRoleGetPrimaryDomainInformation_ext(struct torture_context *tctx,
struct dssetup_DsRoleGetPrimaryDomainInformation r;
NTSTATUS status;
int i;
+ struct dcerpc_binding_handle *b = p->binding_handle;
for (i=DS_ROLE_BASIC_INFORMATION; i <= DS_ROLE_OP_STATUS; i++) {
r.in.level = i;
torture_comment(tctx, "dcerpc_dssetup_DsRoleGetPrimaryDomainInformation level %d\n", i);
- status = dcerpc_dssetup_DsRoleGetPrimaryDomainInformation(p, tctx, &r);
+ status = dcerpc_dssetup_DsRoleGetPrimaryDomainInformation_r(b, tctx, &r);
torture_assert_ntstatus_equal(tctx, ext_status, status, "DsRoleGetPrimaryDomainInformation failed");
if (NT_STATUS_IS_OK(ext_status)) {
torture_assert_werr_ok(tctx, r.out.result, "DsRoleGetPrimaryDomainInformation failed");