s3:torture: use CLI_FULL_CONNECTION_FORCE_SMB1 in run_chain2()
authorStefan Metzmacher <metze@samba.org>
Mon, 19 Jun 2017 07:46:55 +0000 (09:46 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 22 Jun 2017 11:07:40 +0000 (13:07 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/torture/torture.c

index 2a55fdac705ffb5e07a06bc91738c3f4f841ff8e..2f4e68499839baa144e2a0b54552b12be3688768 100644 (file)
@@ -7963,10 +7963,11 @@ static bool run_chain2(int dummy)
        struct tevent_req *reqs[2], *smbreqs[2];
        bool done = false;
        NTSTATUS status;
+       int flags = CLI_FULL_CONNECTION_FORCE_SMB1;
 
        printf("starting chain2 test\n");
        status = cli_start_connection(&cli1, lp_netbios_name(), host, NULL,
-                                     port_to_use, SMB_SIGNING_DEFAULT, 0);
+                                     port_to_use, SMB_SIGNING_DEFAULT, flags);
        if (!NT_STATUS_IS_OK(status)) {
                return False;
        }