s3-libsmb Do not limit read replies to NBT packet sizes
authorAndrew Bartlett <abartlet@samba.org>
Fri, 27 Jan 2012 02:53:34 +0000 (13:53 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 30 Jan 2012 19:48:35 +0000 (20:48 +0100)
commit3394bbf45dd219dc0293809fe2c50ad3ab7cede6
tree1880f60d3815c2a93e404b70cd423bf5146de098
parentf0c4e96cb4419015a9082e05ffc65bb370aede48
s3-libsmb Do not limit read replies to NBT packet sizes

With the posix extensions, we can read 16MB at a time, so we need to
check the full size of the packet, not the size rounded down to the
old NBT limit.

Andrew Bartlett

Fix bug #8727 (smbclient fails with posix large reads).
source3/libsmb/clireadwrite.c