summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/librpc/idl/netlogon.idl2
-rw-r--r--source4/torture/rpc/netlogon.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index b9f0bd7e7a..0d21357c19 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -952,7 +952,7 @@ interface netlogon
[in] unistr *computer_name,
[in,out,ref] netr_Authenticator *credential,
[in] uint32 unknown1,
- [in] uint32 *i1,
+ [in] uint32 i1[2],
[in] uint32 level,
[in,switch_is(level)] netr_DomainQuery query,
[out,switch_is(level)] netr_DomainInfo info
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index b08be80bb0..ec7eca98bd 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -1573,7 +1573,6 @@ static BOOL test_GetDomainInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
struct netr_LogonGetDomainInfo r;
struct netr_DomainQuery1 q1;
struct netr_Authenticator a;
- uint32_t i1;
struct creds_CredentialState creds;
if (!test_SetupCredentials3(p, mem_ctx, NETLOGON_NEG_AUTH2_ADS_FLAGS, &creds)) {
@@ -1591,8 +1590,8 @@ static BOOL test_GetDomainInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
r.in.credential = &a;
r.out.credential = &a;
- i1 = 0;
- r.in.i1 = &i1;
+ r.in.i1[0] = 0;
+ r.in.i1[1] = 0;
r.in.query.query1 = &q1;
ZERO_STRUCT(q1);