[Samba] Explorer not refreshing with SAMBA 3.5.x on Solaris 10 x64

Stout, Brandon brandon.stout at medtronic.com
Wed Nov 2 12:12:55 MDT 2011


I am experiencing a problem with Explorer not refreshing view correctly.

The test case:

(1)    Map drive to SAMBA share and open drive in Explorer.

(2)    Create an empty file which displays correctly in Explorer, including the size.

(3)    Re-open this empty file and fill it with data.  The size of the file does not increment as the file is increasing in size.  Once the file update has been completed, the closed file size does not display through Explorer correctly until a F5 refresh is done.

File creation, updating and viewing are all done from the same Windows PC, using the same mapped drive letter.

Batch file used to reproduce the refresh problem:
do-test.bat:
@echo off
set SOURCEFILE=c:\Windows\WindowsUpdate.log
c:\Windows\explorer.exe /n,/e,E:\
copy /y nul E:\SMBtest-0-size.txt >nul
echo.
echo ******** Pausing Samba refresh test... **********
pause
echo.
type %SOURCEFILE% >> E:\SMBtest-0-size.txt


End-user clients:
                Windows XP Professional SP3
                Windows 7 Enterprise SP1

Test server:
                OS: Solaris 10 x64
                SAMBA releases:
                                Refresh problem present: 3.5.8 (Bundled with Solaris 10 x64)
                                                                                   3.5.8, 3.5.9, 3.5.15 (Compiled on host system)
                                Refresh works correctly: 3.2.3, 3.2.15 (compiled on host system)

Of interesting note: The refresh works fine with SAMBA 3.5.8, 3.5.9, 3.5.15 on Linux host.

Any help with this would be appreciated.  We have an automated process that dumps data to a SAMBA share in production and the end-users rely on the refresh to know when the process stops - this is how we found this.

Thanks

Brandon

[CONFIDENTIALITY AND PRIVACY NOTICE]

Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which it is addressed, and may contain information that is private, privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please delete this mail from your records.
 
To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com


More information about the samba mailing list