summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-05 01:39:39 +0100
committerGünther Deschner <gd@samba.org>2008-11-10 21:46:28 +0100
commit88ff1be03671376d88aa8b019313979244a9bdb7 (patch)
treea9892cfe0ebc0157383bcda0774abf1e975efced
parent8f1559c35032320a9a5e3f665ddfbfa41ab1a7d8 (diff)
downloadsamba-88ff1be03671376d88aa8b019313979244a9bdb7.tar.gz
samba-88ff1be03671376d88aa8b019313979244a9bdb7.tar.bz2
samba-88ff1be03671376d88aa8b019313979244a9bdb7.zip
s4-samr: merge samr_GetBootKeyInformation from s3 idl. (fixme: python)
Guenther
-rw-r--r--librpc/idl/samr.idl2
-rw-r--r--source4/torture/rpc/samr.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl
index 708ceabb5f..66b3f4bf0f 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 ce631283c2..e07ebe9e3d 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)) {