diff options
author | Jeremy Allison <jra@samba.org> | 2002-10-15 21:35:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-10-15 21:35:46 +0000 |
commit | 3d8274df34a9f7d2a1f221534f7c32bfb4450f87 (patch) | |
tree | 4f374c893e6e8f5c454d21aba2ac87b59ba1bd77 /source3/param | |
parent | e3522b2123bbb07eea0068afc939756e0e655696 (diff) | |
download | samba-3d8274df34a9f7d2a1f221534f7c32bfb4450f87.tar.gz samba-3d8274df34a9f7d2a1f221534f7c32bfb4450f87.tar.bz2 samba-3d8274df34a9f7d2a1f221534f7c32bfb4450f87.zip |
Change default of max_xmit to match W2K. Ensure NT negprot uses it.
Jeremy.
(This used to be commit 0bf7187e3ba57ee2422a0f6f736266a55502123c)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 500119575a..5d1ef9b91f 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1289,7 +1289,9 @@ static void init_globals(void) Globals.bLoadPrinters = True; 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; |