Bug 8727 - smbclient fails with posix large reads
Summary: smbclient fails with posix large reads
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-28 00:02 UTC by Jeremy Allison
Modified: 2012-01-30 19:49 UTC (History)
0 users

See Also:


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

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

posix
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.

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

Thanks!