s3:torture/masktest: masktest only works with SMB1 currently
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Dec 2016 08:49:17 +0000 (09:49 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 19 Dec 2016 08:48:24 +0000 (09:48 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/torture/masktest.c

index 143243d0beb6188c05f84059ec9629c7cf15dc70..95e0b04b04006e0c316c0757f1163ed31a4baed0 100644 (file)
@@ -536,6 +536,7 @@ static void usage(void)
        argv += optind;
 
        max_protocol = lp_client_max_protocol();
+       max_protocol = MIN(max_protocol, PROTOCOL_NT1);
 
        if (!got_pass) {
                char pwd[256] = {0};