summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)");