[Samba] Refreshing file contents...

David Collier-Brown davecb at canada.sun.com
Thu Mar 28 09:32:03 GMT 2002


Dave Fox wrote:
> My task is to integrate a linux box with a software product on the windows
> box.    The windows product specifies that it will change records in this file
> on the fly,  the linux product (which I am to create)  is supposed to poll the
> contents of the file looking for changes,  

	You have to override the Windows machine's
	local caching mechanism, referred to as
	"oplocks".
	In the share where you have the database-like
	files, set "oplocks = no", which will force
	the client to update the server copy.  I
	reccomend you give these files a sher of their
	own as turning off caching hurts performance
	on non-databse files.
	

--dave	
-- 
David Collier-Brown,           | Always do right. This will gratify 
Performance & Engineering      | some people and astonish the rest.
Americas Customer Engineering, |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba mailing list