Bug 8727 - smbclient fails with posix large reads
smbclient fails with posix large reads
Product: Samba 3.6
Classification: Unclassified
Component: Client Tools
All All
: P5 normal
: ---
Assigned To: Karolin Seeger
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2012-01-28 00:02 UTC by Jeremy Allison
Modified: 2012-01-30 19:49 UTC (History)
0 users

See Also:

git-am fix for 3.6.next (1.21 KB, patch)
2012-01-28 00:05 UTC, Jeremy Allison
abartlet: review+
git-am fix for 3.5.next (1.15 KB, patch)
2012-01-28 00:06 UTC, Jeremy Allison
abartlet: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2012-01-28 00:02:56 UTC
smbclient fails when we attempt to use the posix extensions
to read 16MB chucks at a time. The oob check doesn't cope with sizes greater than the NBT length wheras with POSIX reads we can use up to 24-bit lengths.

to reproduce:

smbclient //server/tmp

get large_file

Reported by Alex Golenkevich <alex.golenkevich@gmail.com>. Patches from Andrew Bartlett to follow.
Comment 1 Jeremy Allison 2012-01-28 00:05:46 UTC
Created attachment 7263 [details]
git-am fix for 3.6.next
Comment 2 Jeremy Allison 2012-01-28 00:06:50 UTC
Created attachment 7264 [details]
git-am fix for 3.5.next
Comment 3 Jeremy Allison 2012-01-30 18:20:39 UTC
Re-assigning to Karolin for inclusion in 3.5.next and 3.6.next.

Comment 4 Karolin Seeger 2012-01-30 19:49:07 UTC
Pushed to both branches.
Closing out bug report.