]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture: Remove obsolete test in samba3.session
authorAndreas Schneider <asn@samba.org>
Fri, 17 Jan 2025 15:45:29 +0000 (16:45 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 27 Jan 2025 10:41:40 +0000 (10:41 +0000)
This test never got executed anyway.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/rpc/samba3rpc.c

index ac394199eab878ff6fcb741e019454fe80014030..6592d996b61f86c302b942236eb2026b44ca18b6 100644 (file)
@@ -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),