STEP99?? Revert "HACK try max channels (windows allows 32)"
authorStefan Metzmacher <metze@samba.org>
Thu, 7 Aug 2014 06:49:07 +0000 (08:49 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 19 Sep 2016 20:20:49 +0000 (22:20 +0200)
This reverts commit ee00439346dfbba9a59aff8414ba5d241718d1f0.

source4/torture/smb2/session.c

index a755a46340945eff1bb1e43ffea381075653af99..7bf11886fec8066040758d6af559625da3d6393a 100644 (file)
@@ -1215,9 +1215,6 @@ bool test_session_bind1(struct torture_context *tctx, struct smb2_tree *tree1)
                                        smb2_util_oplock_level("b"),
                                        "oplock_level incorrect");
 
-{int t; for (t=2; t < 256; t++) {
-       torture_comment(tctx, "channel[%d]\n", t);
-
        status = smb2_connect(tctx,
                              host,
                              lpcfg_smb_ports(tctx->lp_ctx),
@@ -1293,8 +1290,6 @@ bool test_session_bind1(struct torture_context *tctx, struct smb2_tree *tree1)
        status = smb2_util_unlink(tree2, fname);
        torture_assert_ntstatus_ok_goto(tctx, status, ret, done,
                                        "smb2_util_unlink failed");
-}}
-
        ret = true;
 done:
        talloc_free(tree2);