From 0992a9d987e521a76d267b2be1259810e1821406 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 27 Oct 2008 14:58:28 +0100 Subject: s4-netlogon: merge netr_DsrGetDcSiteCoverageW from s3 idl. Guenther --- source4/librpc/idl/netlogon.idl | 2 +- source4/torture/rpc/netlogon.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index b3ff5435c2..400565ba22 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -1374,7 +1374,7 @@ interface netlogon WERROR netr_DsrGetDcSiteCoverageW( [in,unique] [string,charset(UTF16)] uint16 *server_name, - [out,unique] DcSitesCtr *ctr + [out,ref] DcSitesCtr **ctr ); /****************/ diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 1c64385808..d35e62eb74 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -1337,8 +1337,10 @@ static bool test_netr_DsrGetDcSiteCoverageW(struct torture_context *tctx, { NTSTATUS status; struct netr_DsrGetDcSiteCoverageW r; + struct DcSitesCtr *ctr = NULL; r.in.server_name = talloc_asprintf(tctx, "\\\\%s", dcerpc_server_name(p)); + r.out.ctr = &ctr; status = dcerpc_netr_DsrGetDcSiteCoverageW(p, tctx, &r); torture_assert_ntstatus_ok(tctx, status, "failed"); -- cgit