STEP99?? Revert "torture: HACK bind on existing connection REQUEST_NOT_ACCEPTED..."
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Jun 2014 07:05:43 +0000 (09:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 Feb 2020 14:08:23 +0000 (15:08 +0100)
This reverts commit 88f82b3849434a4c692c499ea19452c6f7835465.

source4/torture/smb2/session.c

index 690c5e92c8fd8ab3dcc9efb6af1b0e671be8dc44..b330c7e41a23a80cce5a37a28c3bf4e1c0bfbdc1 100644 (file)
@@ -1779,7 +1779,7 @@ bool test_session_bind1(struct torture_context *tctx, struct smb2_tree *tree1)
        /*
         * Now bind the 2nd transport connection to the 1st session
         */
-       session1_2 = smb2_session_channel(transport1,
+       session1_2 = smb2_session_channel(transport2,
                                          lpcfg_gensec_settings(tctx, tctx->lp_ctx),
                                          tree2,
                                          session1_1);