1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

oxidresolver: fix ServerAlive2 IDL and test.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2015-07-21 20:23:11 +02:00 committed by Jeremy Allison
parent 08e6d241a9
commit 7b155c3f95
2 changed files with 9 additions and 4 deletions

View 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
);
}

View 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");