Libsmbclient fails to handle filse sizes more than 4GB

Abhijeet Paturkar abhijeet.paturkar at xcelvision.com
Thu Apr 24 09:37:49 GMT 2003


Hi Richard,
You are absolutely right.. The 2.2.8 lib works absolutely fine we were
using 2.2.5 lib with some our modifiactions to code.
Thanks for the support.

Regards
Abhijeet

	 
 	 Abhijeet Paturkar
Project Leader
Software Solutions Group	 
XcelVision Technologies Ltd. 
Tel : (91-22) 8399900 / 11 
Fax : (91-22) 8399898 
e-mail : abhijeet.paturkar at xcelvision.com 
Web : www.xcelvision.com	 


-----Original Message-----
From:
samba-technical-bounces+abhijeet.paturkar=xcelvision.com at lists.samba.org
[mailto:samba-technical-bounces+abhijeet.paturkar=xcelvision.com at lists.s
amba.org] On Behalf Of Richard Sharpe
Sent: Wednesday, April 23, 2003 10:34 PM
To: Abhijeet Paturkar
Cc: samba-technical at samba.org
Subject: Re: Libsmbclient fails to handle filse sizes more than 4GB


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.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




More information about the samba-technical mailing list