From 88ff1be03671376d88aa8b019313979244a9bdb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 5 Nov 2008 01:39:39 +0100 Subject: [PATCH] s4-samr: merge samr_GetBootKeyInformation from s3 idl. (fixme: python) Guenther --- librpc/idl/samr.idl | 2 +- source4/torture/rpc/samr.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl index 708ceabb5f5..66b3f4bf0f7 100644 --- a/librpc/idl/samr.idl +++ b/librpc/idl/samr.idl @@ -1350,7 +1350,7 @@ import "misc.idl", "lsa.idl", "security.idl"; /* Function 0x3c */ NTSTATUS samr_GetBootKeyInformation( [in,ref] policy_handle *domain_handle, - [out] uint32 unknown + [out,ref] uint32 *unknown ); /************************/ diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index ce631283c27..e07ebe9e3d7 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -4202,10 +4202,12 @@ static bool test_GetBootKeyInformation(struct dcerpc_pipe *p, struct torture_con struct samr_GetBootKeyInformation r; NTSTATUS status; bool ret = true; + uint32_t unknown = 0; torture_comment(tctx, "Testing GetBootKeyInformation\n"); r.in.domain_handle = domain_handle; + r.out.unknown = &unknown; status = dcerpc_samr_GetBootKeyInformation(p, tctx, &r); if (!NT_STATUS_IS_OK(status)) { -- 2.34.1