1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s4-netlogon: merge netr_LogonControl2Ex from s3 idl.

Guenther
This commit is contained in:
Günther Deschner 2008-10-28 02:19:26 +01:00
parent 8a79378469
commit 359927dd34
2 changed files with 3 additions and 1 deletions

View 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
);
/*****************/

View 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;