From f9ddc0dde562b0976a05fc6ca07ea8c9ce0bd284 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 20 May 2006 19:00:53 +0000 Subject: r15759: samba4 currently only supports read sizes up to with UINT16_MAX metze (This used to be commit 05ced31cb91eb1f170cb87d6964cf65daba43493) --- source4/torture/smb2/connect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c index 77b5d5c40d..54075b17d0 100644 --- a/source4/torture/smb2/connect.c +++ b/source4/torture/smb2/connect.c @@ -77,6 +77,8 @@ static NTSTATUS torture_smb2_write(struct smb2_tree *tree, struct smb2_handle ha if (lp_parm_bool(-1, "torture", "dangerous", False)) { data = data_blob_talloc(tree, NULL, 160000); + } else if (lp_parm_bool(-1, "target", "samba4", False)) { + data = data_blob_talloc(tree, NULL, UINT16_MAX); } else { data = data_blob_talloc(tree, NULL, 120000); } -- cgit