Libsmbclient fails to handle filse sizes more than 4GB
rsharpe at richardsharpe.com
Wed Apr 23 17:03:53 GMT 2003
On Wed, 23 Apr 2003, Abhijeet Paturkar wrote:
> Hi all,
> We are using libsmbclient library in our product.
> The lib. works absolutely fine with files sizes less than 4GB.
> It fails for more than 4GB sizes.
> Following is the program demonstrating this
> The readers are requested to modify the code to change hardcoded values.
> Does any one uses libsmbclient fore dealing with files more than 4GB, if
> yes please help us
> to use it in right way.
Ummm, what version of Samba and thus libsmbclient are you using?
libsmbclient has no hard-coded values in it in this regard, however, the
underlying libsmb routines that it uses were not fixed to use the correct
SMBwrite and SMBread formats to handle large offsets until Samba 2.2.8, I
believe, and Samba 3.0alpha 21 or 22, I think.
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 11417 bytes
Url : http://lists.samba.org/archive/samba-technical/attachments/20030423/c9cab90e/attachment.jpg
More information about the samba-technical