svn commit: samba r1995 - in branches/SAMBA_4_0/source: librpc/idl torture/rpc

metze at samba.org metze at samba.org
Mon Aug 23 07:12:13 GMT 2004


Author: metze
Date: 2004-08-23 07:12:13 +0000 (Mon, 23 Aug 2004)
New Revision: 1995

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=1995&nolog=1

Log:
a ndrdump file from abartlet make it clear that this isn't a pointer
to a uint32, there're two uint32 with 0x00000000

metze

Modified:
   branches/SAMBA_4_0/source/librpc/idl/netlogon.idl
   branches/SAMBA_4_0/source/torture/rpc/netlogon.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/netlogon.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/netlogon.idl	2004-08-23 07:08:07 UTC (rev 1994)
+++ branches/SAMBA_4_0/source/librpc/idl/netlogon.idl	2004-08-23 07:12:13 UTC (rev 1995)
@@ -952,7 +952,7 @@
 		[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

Modified: branches/SAMBA_4_0/source/torture/rpc/netlogon.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/netlogon.c	2004-08-23 07:08:07 UTC (rev 1994)
+++ branches/SAMBA_4_0/source/torture/rpc/netlogon.c	2004-08-23 07:12:13 UTC (rev 1995)
@@ -1573,7 +1573,6 @@
 	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 @@
 	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);



More information about the samba-cvs mailing list