diff options
author | Günther Deschner <gd@samba.org> | 2008-10-28 02:19:26 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-29 08:57:27 +0100 |
commit | 359927dd34e83875acd197b1b3e232693d8c66f5 (patch) | |
tree | 4d7f7be3ef7b6465642d5142ca609e1510b697da | |
parent | 8a7937846947652223d94dbf26b0335c1678573c (diff) | |
download | samba-359927dd34e83875acd197b1b3e232693d8c66f5.tar.gz samba-359927dd34e83875acd197b1b3e232693d8c66f5.tar.bz2 samba-359927dd34e83875acd197b1b3e232693d8c66f5.zip |
s4-netlogon: merge netr_LogonControl2Ex from s3 idl.
Guenther
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 2 | ||||
-rw-r--r-- | source4/torture/rpc/netlogon.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index 5bf8b027fa..33b3c815ec 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -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 ); /*****************/ diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index d4cad6e57a..ce45065ac8 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -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; |