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

vlendec at samba.org vlendec at samba.org
Fri Jun 9 13:09:07 GMT 2006


Author: vlendec
Date: 2006-06-09 13:09:04 +0000 (Fri, 09 Jun 2006)
New Revision: 16123

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

Log:
Samba3 in the buildfarm will happily create (faked(!!)) users anonymously. Disable that test for now.
Modified:
   branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c	2006-06-09 13:04:47 UTC (rev 16122)
+++ branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c	2006-06-09 13:09:04 UTC (rev 16123)
@@ -1157,10 +1157,16 @@
 
 	ret = True;
 
-	if (test_join3(mem_ctx, False, anon_creds, NULL, wks_name)) {
-		d_printf("join using anonymous bind on an anonymous smb "
-			 "connection succeeded -- HUH??\n");
-		ret = False;
+	if (!lp_parm_bool(-1, "target", "samba3", False)) {
+
+		/* Samba3 in the build farm right now does this happily. Need
+		 * to fix :-) */
+
+		if (test_join3(mem_ctx, False, anon_creds, NULL, wks_name)) {
+			d_printf("join using anonymous bind on an anonymous smb "
+				 "connection succeeded -- HUH??\n");
+			ret = False;
+		}
 	}
 
 	if (!test_join3(mem_ctx, False, anon_creds, cmdline_credentials,



More information about the samba-cvs mailing list