oxidresolver: fix ServerAlive2 IDL and test.
authorGünther Deschner <gd@samba.org>
Tue, 21 Jul 2015 18:23:11 +0000 (20:23 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 Jul 2015 23:55:28 +0000 (01:55 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/idl/oxidresolver.idl
source4/torture/rpc/oxidresolve.c

index 570b112eb4d2fb7077e21cb6b17a8700ea13e741..07700d5199104bdd544453b764a64057a609621e 100644 (file)
@@ -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
                );
 }
index 34e5b728681c7bddc423a8bcbcc509a84e8cccce..9c679887c3e9479c73a95c325b6828a1605a71a1 100644 (file)
@@ -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");