summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-19 14:53:11 -0400
committerVolker Lendecke <vl@samba.org>2009-07-24 17:17:08 +0200
commitbe5cf236968658263b0be5e1e4742741c70f65f8 (patch)
tree1731b317cdf7c9ecfaa5ebe2388f0da21efad617 /source3
parentc116652a3050a8549b722ae8ab5f9a2bf9a33b9f (diff)
downloadsamba-be5cf236968658263b0be5e1e4742741c70f65f8.tar.gz
samba-be5cf236968658263b0be5e1e4742741c70f65f8.tar.bz2
samba-be5cf236968658263b0be5e1e4742741c70f65f8.zip
Fix the chain2 test
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/torture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index f9192b12b7..7185f1c2be 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -5222,7 +5222,9 @@ static bool run_chain2(int dummy)
NTSTATUS status;
printf("starting chain2 test\n");
- if (!torture_open_connection(&cli1, 0)) {
+ status = cli_start_connection(&cli1, global_myname(), host, NULL,
+ port_to_use, Undefined, 0, NULL);
+ if (!NT_STATUS_IS_OK(status)) {
return False;
}