smbclient and putting files larger than 4GB

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


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 

 1. It copes with files larger than 4GB
 2. The data send to a Samba server matches the original data, byte for 
Richard Sharpe, rsharpe[at], rsharpe[at], 

More information about the samba-technical mailing list