summaryrefslogtreecommitdiffstats
path: root/source/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/param/loadparm.c')
-rw-r--r--source/param/loadparm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index b7be1053b7a..dd183ab8af9 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -1315,7 +1315,9 @@ static void init_globals(void)
Globals.bLoadPrinters = True;
Globals.bUseRhosts = False;
Globals.mangled_stack = 50;
- Globals.max_xmit = 65535;
+ /* Was 65535 (0xFFFF). 0x4101 matches W2K and causes major speed improvements... */
+ /* Discovered by 2 days of pain by Don McCall @ HP :-). */
+ Globals.max_xmit = 0x4104;
Globals.max_mux = 50; /* This is *needed* for profile support. */
Globals.lpqcachetime = 10;
Globals.bDisableSpoolss = False;
@@ -1324,7 +1326,7 @@ static void init_globals(void)
Globals.pwordlevel = 0;
Globals.unamelevel = 0;
Globals.deadtime = 0;
- Globals.bLargeReadwrite = False;
+ Globals.bLargeReadwrite = True;
Globals.max_log_size = 5000;
Globals.max_open_files = MAX_OPEN_FILES;
Globals.maxprotocol = PROTOCOL_NT1;