From: Andreas Schneider Date: Fri, 17 Jan 2025 15:45:29 +0000 (+0100) Subject: s4:torture: Remove obsolete test in samba3.session X-Git-Tag: tdb-1.4.13~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0853f646a84e7b49541d503c43cf2da8cd2f1643;p=thirdparty%2Fsamba.git s4:torture: Remove obsolete test in samba3.session This test never got executed anyway. Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner --- diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index ac394199eab..6592d996b61 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -1544,18 +1544,6 @@ static bool torture_samba3_sessionkey(struct torture_context *torture) cli_credentials_set_workstation(anon_creds, wks_name, CRED_SPECIFIED); - - if (!torture_setting_bool(torture, "samba3", false)) { - - /* Samba3 in the build farm right now does this happily. Need - * to fix :-) */ - - if (test_join3(torture, false, anon_creds, NULL, wks_name)) { - torture_fail(torture, "join using anonymous bind on an anonymous smb " - "connection succeeded -- HUH??\n"); - } - } - torture_assert(torture, test_join3(torture, false, samba_cmdline_get_creds(), NULL, wks_name),