s3:torture/masktest: masktest only works with SMB1 currently
[samba.git] / 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};