summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-15 21:35:41 +0000
committerJeremy Allison <jra@samba.org>2002-10-15 21:35:41 +0000
commit909ac9ed0d320d9a384b495feb9ff6417ba617b9 (patch)
treecfc5ed1291f7ce49b28d7a969a7c939b4742900c /source3/smbd
parent04b02e86ac956604366549e4b8542910c16b6ae7 (diff)
downloadsamba-909ac9ed0d320d9a384b495feb9ff6417ba617b9.tar.gz
samba-909ac9ed0d320d9a384b495feb9ff6417ba617b9.tar.bz2
samba-909ac9ed0d320d9a384b495feb9ff6417ba617b9.zip
Change default of max_xmit to match W2K. Ensure NT negprot uses it.
Jeremy. (This used to be commit e5fbfbcc9dc995b23eb0b46c6f59b03cfe9c02b5)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 16427b00d7..06a55cb33e 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -275,7 +275,7 @@ static int reply_nt1(char *inbuf, char *outbuf)
SSVAL(outbuf,smb_vwv1+1,lp_maxmux()); /* maxmpx */
SSVAL(outbuf,smb_vwv2+1,1); /* num vcs */
- SIVAL(outbuf,smb_vwv3+1,0xffff); /* max buffer. LOTS! */
+ SIVAL(outbuf,smb_vwv3+1,max_recv); /* max buffer. LOTS! */
SIVAL(outbuf,smb_vwv5+1,0x10000); /* raw size. full 64k */
SIVAL(outbuf,smb_vwv7+1,sys_getpid()); /* session key */
SIVAL(outbuf,smb_vwv9+1,capabilities); /* capabilities */