r1995: a ndrdump file from abartlet make it clear that this isn't a pointer
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Aug 2004 07:12:13 +0000 (07:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:16 +0000 (12:58 -0500)
to a uint32, there're two uint32 with 0x00000000

metze
(This used to be commit 80f27766cb6d2c4e00232f7e3d5cde75ad84d094)

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

index b9f0bd7e7a4c1f48169b3c94ba4fdf81f982e658..0d21357c19bb47e13b6fb941b7cd1c81b50d386c 100644 (file)
@@ -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
index b08be80bb03322d234f8bf7f83fd8e9077547cc1..ec7eca98bd8f2caa0f81d6a3d33fb657c630cffb 100644 (file)
@@ -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);