s4-netlogon: merge netr_LogonControl2Ex from s3 idl.
authorGünther Deschner <gd@samba.org>
Tue, 28 Oct 2008 01:19:26 +0000 (02:19 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 29 Oct 2008 07:57:27 +0000 (08:57 +0100)
Guenther

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

index 5bf8b027fa9bf08531aefe9d16d918ce0b1f8009..33b3c815ec289845d08552187ac9a79112dd7c35 100644 (file)
@@ -974,7 +974,7 @@ interface netlogon
                [in]   uint32 function_code,
                [in]   uint32 level,
                [in][switch_is(function_code)] netr_CONTROL_DATA_INFORMATION  data,
-               [out][switch_is(level)]        netr_CONTROL_QUERY_INFORMATION query
+               [out,ref][switch_is(level)]     netr_CONTROL_QUERY_INFORMATION *query
                );
 
        /*****************/
index d4cad6e57a374350b4df0026404ed718cbbe622e..ce45065ac82e228351a5097fc5b320fb2231ca09 100644 (file)
@@ -1080,12 +1080,14 @@ static bool test_LogonControl2Ex(struct torture_context *tctx,
 {
        NTSTATUS status;
        struct netr_LogonControl2Ex r;
+       union netr_CONTROL_QUERY_INFORMATION query;
        int i;
 
        r.in.logon_server = talloc_asprintf(tctx, "\\\\%s", dcerpc_server_name(p));
 
        r.in.function_code = NETLOGON_CONTROL_REDISCOVER;
        r.in.data.domain = lp_workgroup(tctx->lp_ctx);
+       r.out.query = &query;
 
        for (i=1;i<4;i++) {
                r.in.level = i;