From 594082233fda1e0fa82edaddd6584087d73b26c8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 10 Oct 2004 01:30:54 +0000 Subject: r2888: - add 'Ds' prefix to Bind and Unbind call on drsuapi - rename handle -> bind_handle - change function types to NTSTATUS metze (This used to be commit de73676342be8dbf39df8d3fe68817932ee71ccb) --- source4/torture/rpc/autoidl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/torture/rpc/autoidl.c') diff --git a/source4/torture/rpc/autoidl.c b/source4/torture/rpc/autoidl.c index 44e0edb1c3..8ec4a19787 100644 --- a/source4/torture/rpc/autoidl.c +++ b/source4/torture/rpc/autoidl.c @@ -32,14 +32,14 @@ static BOOL get_policy_handle(struct dcerpc_pipe *p, struct policy_handle *handle) { NTSTATUS status; - struct drsuapi_Bind r; + struct drsuapi_DsBind r; ZERO_STRUCT(r); - r.out.handle = handle; + r.out.bind_handle = handle; - status = dcerpc_drsuapi_Bind(p, mem_ctx, &r); + status = dcerpc_drsuapi_DsBind(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { - printf("drsuapi_Bind failed - %s\n", nt_errstr(status)); + printf("drsuapi_DsBind failed - %s\n", nt_errstr(status)); return False; } -- cgit