summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-23 07:12:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:16 -0500
commit8460fc7df9cf24d44b6878789f0dc511f8f98811 (patch)
tree3f1d644331743810c5830a401d21908d1b1ad5f5 /source4
parentae95563caf8f1c3e1ae4c88558732520c2c5df06 (diff)
downloadsamba-8460fc7df9cf24d44b6878789f0dc511f8f98811.tar.gz
samba-8460fc7df9cf24d44b6878789f0dc511f8f98811.tar.bz2
samba-8460fc7df9cf24d44b6878789f0dc511f8f98811.zip
r1995: a ndrdump file from abartlet make it clear that this isn't a pointer
to a uint32, there're two uint32 with 0x00000000 metze (This used to be commit 80f27766cb6d2c4e00232f7e3d5cde75ad84d094)
Diffstat (limited to 'source4')
-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);