summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-12 02:14:29 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-12 02:14:29 +0000
commita4c6884f43233d57a5f6465f67c4657dd061ae43 (patch)
treea68448d6339691287a763685d6c2d27e911368b4
parent5299d1b49f2bfd6cf84a687548904206f4a18a41 (diff)
downloadsamba-a4c6884f43233d57a5f6465f67c4657dd061ae43.tar.gz
samba-a4c6884f43233d57a5f6465f67c4657dd061ae43.tar.xz
samba-a4c6884f43233d57a5f6465f67c4657dd061ae43.zip
report the max size of raw reads as 65536 not 65535 (this now matches
what Win95 reports)
-rw-r--r--source/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c
index 86b76454e41..7bce748878e 100644
--- a/source/smbd/server.c
+++ b/source/smbd/server.c
@@ -4014,7 +4014,7 @@ int reply_nt1(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_vwv5+1,0xffff); /* raw size. LOTS! */
+ SIVAL(outbuf,smb_vwv5+1,0x10000); /* raw size. full 64k */
SIVAL(outbuf,smb_vwv7+1,getpid()); /* session key */
SIVAL(outbuf,smb_vwv9+1,capabilities); /* capabilities */
put_long_date(outbuf+smb_vwv11+1,t);