svn commit: samba r22171 - in branches/SAMBA_4_0/source/torture/rpc: .

abartlet at samba.org abartlet at samba.org
Wed Apr 11 12:23:42 GMT 2007


Author: abartlet
Date: 2007-04-11 12:23:42 +0000 (Wed, 11 Apr 2007)
New Revision: 22171

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22171

Log:
At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...

Andrew Bartlett

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


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/netlogon.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/netlogon.c	2007-04-11 12:10:40 UTC (rev 22170)
+++ branches/SAMBA_4_0/source/torture/rpc/netlogon.c	2007-04-11 12:23:42 UTC (rev 22171)
@@ -1012,17 +1012,17 @@
 	int i;
 	BOOL ret = True;
 
-	if (lp_parm_bool(-1, "torture", "samba4", False)) {
-		printf("skipping DatabaseSync2 test against Samba4\n");
-		return True;
-	}
-
 	if (!test_SetupCredentials2(p, mem_ctx, NETLOGON_NEG_AUTH2_FLAGS, 
 				    TEST_MACHINE_NAME, machine_password, 
 				    SEC_CHAN_BDC, &creds)) {
 		return False;
 	}
 
+	if (lp_parm_bool(-1, "torture", "samba4", False)) {
+		printf("skipping DatabaseSync2 test against Samba4\n");
+		return True;
+	}
+
 	r.in.logon_server = talloc_asprintf(mem_ctx, "\\\\%s", dcerpc_server_name(p));
 	r.in.computername = TEST_MACHINE_NAME;
 	r.in.preferredmaximumlength = (uint32_t)-1;



More information about the samba-cvs mailing list