diff options
author | Günther Deschner <gd@samba.org> | 2008-10-27 14:58:28 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-28 23:40:51 +0100 |
commit | 0992a9d987e521a76d267b2be1259810e1821406 (patch) | |
tree | 83ba374b26ad26adb9708b6a7804cba8d8c78368 | |
parent | 532fd92bdb7f6bc81afa155e09c039549d689a3e (diff) | |
download | samba-0992a9d987e521a76d267b2be1259810e1821406.tar.gz samba-0992a9d987e521a76d267b2be1259810e1821406.tar.bz2 samba-0992a9d987e521a76d267b2be1259810e1821406.zip |
s4-netlogon: merge netr_DsrGetDcSiteCoverageW from s3 idl.
Guenther
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 2 | ||||
-rw-r--r-- | source4/torture/rpc/netlogon.c | 2 |
2 files changed, 3 insertions, 1 deletions
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"); |