summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-16 10:42:58 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-16 15:35:29 +0100
commit87a5596d4654aacbd7b7821cc2cc96c818c1b344 (patch)
treebaff8a1cb8ee81892b6c4431b21cc2e5354543d9 /source4
parent54ab68f04317d79ca2ea5c6815e96dce3a336725 (diff)
downloadsamba-87a5596d4654aacbd7b7821cc2cc96c818c1b344.tar.gz
samba-87a5596d4654aacbd7b7821cc2cc96c818c1b344.tar.bz2
samba-87a5596d4654aacbd7b7821cc2cc96c818c1b344.zip
s4:torture/rpc/remact.c: make use of dcerpc_binding_handle stubs
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/remact.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c
index 12132faa26..9732555207 100644
--- a/source4/torture/rpc/remact.c
+++ b/source4/torture/rpc/remact.c
@@ -34,6 +34,7 @@ static bool test_RemoteActivation(struct torture_context *tctx,
NTSTATUS status;
struct GUID iids[1];
uint16_t protseq[3] = { EPM_PROTOCOL_TCP, EPM_PROTOCOL_NCALRPC, EPM_PROTOCOL_UUID };
+ struct dcerpc_binding_handle *b = p->binding_handle;
ZERO_STRUCT(r.in);
r.in.this_object.version.MajorVersion = 5;
@@ -47,7 +48,7 @@ static bool test_RemoteActivation(struct torture_context *tctx,
GUID_from_string(DCERPC_IUNKNOWN_UUID, &iids[0]);
r.in.pIIDs = iids;
- status = dcerpc_RemoteActivation(p, tctx, &r);
+ status = dcerpc_RemoteActivation_r(b, tctx, &r);
torture_assert_ntstatus_ok(tctx, status, "RemoteActivation");
torture_assert_werr_ok(tctx, r.out.result, "RemoteActivation");
@@ -60,7 +61,7 @@ static bool test_RemoteActivation(struct torture_context *tctx,
r.in.Interfaces = 1;
r.in.Mode = MODE_GET_CLASS_OBJECT;
- status = dcerpc_RemoteActivation(p, tctx, &r);
+ status = dcerpc_RemoteActivation_r(b, tctx, &r);
torture_assert_ntstatus_ok(tctx, status,
"RemoteActivation(GetClassObject)");