Red Hat Bugzilla – Bug 58678
File corruption with WRITE CACHE SIZE != 0
Last modified: 2007-04-18 12:39:08 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; Hotbar 3.0)
Description of problem:
If you set WRITE CACHE SIZE with a value not equal to zero (0), files writed by
Windows 95, 98 and Me can be filled with zeros.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set WRITE CACHE SIZE = 65535 in smb.conf
2. Use a Win9x client (95, 98 or Me)
3. Copy a file to the server and compare to original.
Actual Results: The file is equal in size, but differs in content. Checking
CRC is usefull to confirm the file corruption.
Expected Results: An equal file.
Just in Samba 2.2.x. This does not occour in 2.0.x
Setting the parameter WRITE CACHE SIZE = 0 solves the problem.
A bug wrt. WRITE CACHE SIZE was just fixed in CVS (see
<20020122075522.A28462@va.samba.org> ). Thus, it should be fixed in 2.2.3 when
this is available. Keeping open until rebuilt.
Which was done a long time ago. Doh. 2.2.3-1 was the first, 2.2.3a-5 is the current.