Fix the chain2 test
authorVolker Lendecke <vl@samba.org>
Sun, 19 Jul 2009 18:53:11 +0000 (14:53 -0400)
committerVolker Lendecke <vl@samba.org>
Fri, 24 Jul 2009 15:17:08 +0000 (17:17 +0200)
source3/torture/torture.c

index f9192b12b7645ec4dea1b1de85d4f3fca92a9803..7185f1c2be84132bbccaf7d0af96c08f1365eda8 100644 (file)
@@ -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;
        }