s4:torture/smb2: torture_smb2_tree_connect() creates a secondary tree connect
authorStefan Metzmacher <metze@samba.org>
Tue, 30 Sep 2014 10:28:13 +0000 (12:28 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 30 Sep 2014 21:35:08 +0000 (23:35 +0200)
So don't mark smb2_tree_init() as primary.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/torture/smb2/util.c

index 33d230512cf7a501b5270de88d44bf5741a45426..17c21dc8ce6076e007cf958760aeedf25d8c255e 100644 (file)
@@ -289,7 +289,7 @@ bool torture_smb2_tree_connect(struct torture_context *tctx,
                return false;
        }
 
-       tree = smb2_tree_init(session, mem_ctx, true);
+       tree = smb2_tree_init(session, mem_ctx, false);
        if (tree == NULL) {
                printf("talloc failed\n");
                return false;