smbclient and putting files larger than 4GB

Richard Sharpe rsharpe at richardsharpe.com
Mon Dec 30 04:36:00 GMT 2002


Hi,

As a result of a complaint about the above topic I found a bug in 
libsmb/clireadwrite.c that caused writes to an SMB server to corrupt files 
larger than 4GB and ignore everthing above 4GB+a bit.

I have applied a patch to Samba 2.2.x and Samba-head. The patch has been 
tested:

 1. It copes with files larger than 4GB
 2. The data send to a Samba server matches the original data, byte for 
byte.
 
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