summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-12-06 13:45:35 +0100
committerJeremy Allison <jra@samba.org>2014-03-05 10:06:24 -0800
commita349b0bef9085fd139640ec92399bc63d8029cb9 (patch)
tree9ef89d620ee4784acef12301d790a5640cfcb258 /source3/smbd/reply.c
parent7f3faa1f1837870195352253fe220e0677565d9e (diff)
downloadsamba-a349b0bef9085fd139640ec92399bc63d8029cb9.tar.gz
samba-a349b0bef9085fd139640ec92399bc63d8029cb9.tar.xz
samba-a349b0bef9085fd139640ec92399bc63d8029cb9.zip
s3:smbd: use SMB_BUFFER_SIZE_MIN/MAX to limit lp_max_xmit()
The current limit of 128*1024 causes problems as the value has to be <= UINT16_MAX otherwise some clients get confused, as they want to use the MaxBufferSize value from the negprot response (uint32_t) for the MaxBufferSize value in thet session setup request (uint16_t). E.g. Windows 7 (as client) sends MaxBufferSize = 0 if the server value is > UINT16_MAX. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10422 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
0 files changed, 0 insertions, 0 deletions