Kevin Procter in Beamsville on notebook
2002-Jun-21 13:18 UTC
[Samba] Buffer in Windows holding samba info
My client is using Samba to read information on their web server from SCO Open Server 5. They are having this problem: Windows holds old information, rather than getting new information from Samba once a file is updated. Is there any way to force samba to go and look for new data everytime Windows makes a request for data? Thanks! -- K-Tag: I've upped my standards. Now up yours! ------ (__) Kevin Procter (oo) http://members.rogers.com/kkkprocter /-------\/ / | || Brought to you from Oxford County, * ||W---|| the dairy capital of Canada ^^ ^^
Kevin, Seems like the issue is not Samba but Windows clients not updating properly. If you are reading remotly over a slow link I think that windows will cache some information to spped up the process of remote directory listing and such. Windows also has the "Make Available offline" feature that might be causing the issue. Can you connect to the Samba box on the local subnet? If so can you duplicate the issue on the local subnet? Maybe just having the windows clients refresh the view will give a new PIDL set to windows. The caching information that windows keeps is stored in memory space for the explorer.exe process so maybe you could kill and restart explorer to have it re-query the Samba server. Just thoughts /B Kevin Procter in Beamsville on notebook wrote:> My client is using Samba to read information on their web server from > SCO Open Server 5. They are having this problem: > > Windows holds old information, rather than getting new information from > Samba once a file is updated. > > Is there any way to force samba to go and look for new data everytime > Windows makes a request for data? > > Thanks!
I don't have this problem but I don't use windows that much. This likely is a caching thing, with windows caching data locally. Do you have oplocks on? Try turning them off. Also, try these parameters: strict sync = Yes sync always = yes This may slow things down, but, who need data corruption? Now, if you are writing to the share with linux/unix and bypassing samba while so doing, I am not sure what will happen when windows asks for data. You might try running sync after each write, but now I am just speculating. Joel On Fri, Jun 21, 2002 at 04:08:56PM -0400, Kevin Procter in Beamsville on notebook wrote:> Is there any way to force samba to go and look for new data everytime > Windows makes a request for data? > > Thanks! > -- > K-Tag: I've upped my standards. Now up yours! > ------ > (__) Kevin Procter > (oo) http://members.rogers.com/kkkprocter > /-------\/ > / | || Brought to you from Oxford County, > * ||W---|| the dairy capital of Canada > ^^ ^^ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba