summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-28 02:15:51 +0100
committerGünther Deschner <gd@samba.org>2008-10-29 08:57:26 +0100
commit388952f82ced876abaed10aeed8c8266a443f05e (patch)
treecdac9fa62f0d92cefdefa5c66bd4f81e3c3f4935 /source4
parentf0697b0ad55fb1915541bf15adc8a4954462f005 (diff)
downloadsamba-388952f82ced876abaed10aeed8c8266a443f05e.tar.gz
samba-388952f82ced876abaed10aeed8c8266a443f05e.tar.bz2
samba-388952f82ced876abaed10aeed8c8266a443f05e.zip
s4-netlogon: merge netr_LogonControl from s3 idl.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/netlogon.idl2
-rw-r--r--source4/torture/rpc/netlogon.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index d3a2945671..8d61c27903 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -857,7 +857,7 @@ interface netlogon
[in,unique] [string,charset(UTF16)] uint16 *logon_server,
[in] netr_LogonControlCode function_code,
[in] uint32 level,
- [out,switch_is(level)] netr_CONTROL_QUERY_INFORMATION info
+ [out,ref,switch_is(level)] netr_CONTROL_QUERY_INFORMATION *info
);
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index f23af7e72a..755fa2538f 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -892,10 +892,12 @@ static bool test_LogonControl(struct torture_context *tctx,
{
NTSTATUS status;
struct netr_LogonControl r;
+ union netr_CONTROL_QUERY_INFORMATION info;
int i;
r.in.logon_server = talloc_asprintf(tctx, "\\\\%s", dcerpc_server_name(p));
r.in.function_code = 1;
+ r.out.info = &info;
for (i=1;i<4;i++) {
r.in.level = i;