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/smbd | |
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/smbd')
-rw-r--r-- | source3/smbd/negprot.c | 2 |
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 */ |