summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-09 13:09:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:00 -0500
commit9469af459651f988dbf095a57bbece68022aa45e (patch)
treec7893863e7bd3b2f16603345ba0e38883b229ddd /source4/torture/rpc
parent2f16057bf477c2ea958d82f25a3fd533d876e0ff (diff)
downloadsamba-9469af459651f988dbf095a57bbece68022aa45e.tar.gz
samba-9469af459651f988dbf095a57bbece68022aa45e.tar.bz2
samba-9469af459651f988dbf095a57bbece68022aa45e.zip
r16123: Samba3 in the buildfarm will happily create (faked(!!)) users anonymously. Disable that test for now.
(This used to be commit 9015713d62558ba76d693c5e8a4c23e3fd3ccab5)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samba3rpc.c14
1 files changed, 10 insertions, 4 deletions
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,