summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-06-19 09:46:55 +0200
committerStefan Metzmacher <metze@samba.org>2017-06-22 13:07:40 +0200
commit5b9a2e520db0b609958f0b37b15b3e891478d8c9 (patch)
tree7a597279854739d39ec067966dfd283f036fce87 /source3/torture
parent09ca0ed6747ecbc458751d1e10da66edb09d0868 (diff)
downloadsamba-5b9a2e520db0b609958f0b37b15b3e891478d8c9.tar.gz
s3:torture: use CLI_FULL_CONNECTION_FORCE_SMB1 in run_chain2()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c3
1 files changed, 2 insertions, 1 deletions
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;
}