From: Stefan Metzmacher Date: Mon, 19 Jun 2017 07:46:55 +0000 (+0200) Subject: s3:torture: use CLI_FULL_CONNECTION_FORCE_SMB1 in run_chain2() X-Git-Tag: tevent-0.9.32~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b9a2e520db0b609958f0b37b15b3e891478d8c9;p=thirdparty%2Fsamba.git s3:torture: use CLI_FULL_CONNECTION_FORCE_SMB1 in run_chain2() Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 2a55fdac705..2f4e6849983 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -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; }