]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture: Fix checking targets in smb2.getinfo
authorAndreas Schneider <asn@samba.org>
Fri, 17 Jan 2025 13:52:07 +0000 (14:52 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 27 Jan 2025 10:41:40 +0000 (10:41 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/smb2/getinfo.c

index fe280ce52d6e36b456aa3d6bef8802f1fb9aebe2..ed5a7e37d2d8f5720254ddff983a57dd78a161fb 100644 (file)
@@ -588,7 +588,7 @@ static bool torture_smb2_qfs_buffercheck(struct torture_context *tctx)
        for (i=0; i<ARRAY_SIZE(levels); i++) {
                struct smb2_getinfo b;
 
-               if (TARGET_IS_SAMBA3(tctx) &&
+               if ((TARGET_IS_SAMBA3(tctx) || TARGET_IS_SAMBA4(tctx)) &&
                    ((levels[i].level == 6) || (levels[i].level == 11))) {
                        continue;
                }