From: Günther Deschner Date: Tue, 21 Jul 2015 18:23:11 +0000 (+0200) Subject: oxidresolver: fix ServerAlive2 IDL and test. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=7b155c3f95439db689b3e622daf3e4b0e3df6ba8;p=obnox%2Fsamba%2Fsamba-obnox.git oxidresolver: fix ServerAlive2 IDL and test. Guenther Signed-off-by: Günther Deschner Reviewed-by: Jeremy Allison --- diff --git a/librpc/idl/oxidresolver.idl b/librpc/idl/oxidresolver.idl index 570b112eb4d..07700d51991 100644 --- a/librpc/idl/oxidresolver.idl +++ b/librpc/idl/oxidresolver.idl @@ -90,9 +90,7 @@ interface IOXIDResolver [idempotent] WERROR ServerAlive2 ( [out,ref] COMINFO *info, - [out,ref] DUALSTRINGARRAY *dualstring, - [out,ref] uint8 *unknown2, - [out,ref] uint8 *unknown3, - [out,ref] uint8 *unknown4 + [out,ref] DUALSTRINGARRAY **dualstring, + [out,ref] uint8 *pReserved ); } diff --git a/source4/torture/rpc/oxidresolve.c b/source4/torture/rpc/oxidresolve.c index 34e5b728681..9c679887c3e 100644 --- a/source4/torture/rpc/oxidresolve.c +++ b/source4/torture/rpc/oxidresolve.c @@ -211,6 +211,13 @@ static bool test_ServerAlive2(struct torture_context *tctx, struct ServerAlive2 r; NTSTATUS status; struct dcerpc_binding_handle *b = p->binding_handle; + struct COMINFO info; + struct DUALSTRINGARRAY *dualstring; + uint8_t pReserved; + + r.out.info = &info; + r.out.dualstring = &dualstring; + r.out.pReserved = &pReserved; status = dcerpc_ServerAlive2_r(b, tctx, &r); torture_assert_ntstatus_ok(tctx, status, "ServerAlive2");