Fix for bug #8727 - smbclient fails with posix large reads.
commitc3fab3df51d41c837c29b213e108e43133256ce9
authorAndrew Bartlett <abartlet@samba.org>
Sat, 28 Jan 2012 00:03:55 +0000 (27 16:03 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:36:44 +0000 (22 21:36 +0200)
treeb7303935c22708ab595adff6d4113b226eb2b292
parent8ad95d03caced31c0a6d98b729fe98537592a33e
Fix for bug #8727 - smbclient fails with posix large reads.

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.

Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit e86ad41af9d50265cab7cfdabdacb40bb4d3acc0)
source3/libsmb/clireadwrite.c