[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1971-gedeccf0

Stefan Metzmacher metze at samba.org
Wed Jun 3 08:51:13 GMT 2009


The branch, master has been updated
       via  edeccf0df0989df5a36f88642d0e373847955be2 (commit)
      from  8d033ec0d115fe2cdd9bf1fa9758cc0994f5b6f0 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit edeccf0df0989df5a36f88642d0e373847955be2
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jun 3 10:49:44 2009 +0200

    SMB2-CONNECT: make it possible to specific the max write size via --option=torture:smb2maxwrite=12345
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/smb2/connect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c
index 01ffffa..bd1abce 100644
--- a/source4/torture/smb2/connect.c
+++ b/source4/torture/smb2/connect.c
@@ -78,7 +78,7 @@ static NTSTATUS torture_smb2_write(struct torture_context *tctx, struct smb2_tre
 	} else if (torture_setting_bool(tctx, "samba4", false)) {
 		data = data_blob_talloc(tree, NULL, UINT16_MAX);
 	} else {
-		data = data_blob_talloc(tree, NULL, 120000);
+		data = data_blob_talloc(tree, NULL, torture_setting_int(tctx, "smb2maxwrite", 120000));
 	}
 	for (i=0;i<data.length;i++) {
 		data.data[i] = i;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list