summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-20 19:00:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:15 -0500
commitf9ddc0dde562b0976a05fc6ca07ea8c9ce0bd284 (patch)
treec2bdba1f7d6df2913477f9d6b4b77e71406a5672 /source4/torture
parent49012954d055f2b7ed5a796f767e5c0535d80558 (diff)
downloadsamba-f9ddc0dde562b0976a05fc6ca07ea8c9ce0bd284.tar.gz
samba-f9ddc0dde562b0976a05fc6ca07ea8c9ce0bd284.tar.bz2
samba-f9ddc0dde562b0976a05fc6ca07ea8c9ce0bd284.zip
r15759: samba4 currently only supports read sizes up to with UINT16_MAX
metze (This used to be commit 05ced31cb91eb1f170cb87d6964cf65daba43493)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/connect.c2
1 files changed, 2 insertions, 0 deletions
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);
}