summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-05-21 10:32:46 -0700
committerJeremy Allison <jra@samba.org>2010-05-21 10:32:46 -0700
commit8c9ea2ba7ce2536ebc9f5342a050eb5bc63feac3 (patch)
tree290f673425bc235e1205e779945430a691a8ac4a
parent28b8d421364a1d55bf28a2552f58b5e4325d2bbb (diff)
downloadsamba-8c9ea2ba7ce2536ebc9f5342a050eb5bc63feac3.tar.gz
samba-8c9ea2ba7ce2536ebc9f5342a050eb5bc63feac3.tar.bz2
samba-8c9ea2ba7ce2536ebc9f5342a050eb5bc63feac3.zip
Set SMB2 max read/write/trans sizes to Win7 compatible - 1Mb.
Jeremy.
-rw-r--r--source3/param/loadparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f79ac88da3..a78bede2aa 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5294,9 +5294,9 @@ static void init_globals(bool first_time_only)
Globals.bMapUntrustedToDomain = false;
- Globals.ismb2_max_read = 64*1024;
- Globals.ismb2_max_write = 64*1024;
- Globals.ismb2_max_trans = 64*1024;
+ Globals.ismb2_max_read = 1024*1024;
+ Globals.ismb2_max_write = 1024*1024;
+ Globals.ismb2_max_trans = 1024*1024;
}
/*******************************************************************