STEP99?? torture: HACK bind on existing connection REQUEST_NOT_ACCEPTED...
authorStefan Metzmacher <metze@samba.org>
Tue, 24 Jun 2014 18:20:57 +0000 (20:20 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 15 May 2015 09:46:57 +0000 (11:46 +0200)
source4/torture/smb2/session.c

index 1099c510748316bafd5c678a9a25229d8e2efcb0..e796bb42062a0706354fd4e0f3a0e35d0cf45048 100644 (file)
@@ -1137,7 +1137,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(transport2,
+       session1_2 = smb2_session_channel(transport1,
                                          lpcfg_gensec_settings(tctx, tctx->lp_ctx),
                                          tree2,
                                          session1_1);