From 9469af459651f988dbf095a57bbece68022aa45e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 9 Jun 2006 13:09:04 +0000 Subject: r16123: Samba3 in the buildfarm will happily create (faked(!!)) users anonymously. Disable that test for now. (This used to be commit 9015713d62558ba76d693c5e8a4c23e3fd3ccab5) --- source4/torture/rpc/samba3rpc.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index b2e50a31e9..5219893d97 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -1157,10 +1157,16 @@ BOOL torture_samba3_sessionkey(struct torture_context *torture) 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, -- cgit