s4-samr: merge samr_GetBootKeyInformation from s3 idl. (fixme: python)
authorGünther Deschner <gd@samba.org>
Wed, 5 Nov 2008 00:39:39 +0000 (01:39 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 10 Nov 2008 20:46:28 +0000 (21:46 +0100)
Guenther

librpc/idl/samr.idl
source4/torture/rpc/samr.c

index 708ceabb5f5a0cfc1ea13297d7282d84866abe0c..66b3f4bf0f7e26d28e92672c4905064882ab5607 100644 (file)
@@ -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
                );
 
        /************************/
index ce631283c27229a496d49bcb9fad22e684cb61d1..e07ebe9e3d70195c6a725f2e3c77f4539e234507 100644 (file)
@@ -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)) {