Prateek.Mathur@lntinfotech.com
2008-Jun-30 06:37 UTC
[Samba] File Change notification in Samba
Hi, I wanted to know is Samba able to notify any changes made to the shared directory or files to the clients instantly or not? If I change/edit the file in a shared path and some clients are viewing that file will the changes get reflected to them instantly without doing a to refresh by the clients. I came across sumthing called CHANGE NOTIFY in samba configuration parameters but i m not sure how to make use of it as it is set to YES by default. Any help in this area as to how we can enable change notification in SAMBA will be extremely useful. Regards, Prateek Mathur Software Engineer ______________________________________________________________________
On Mon, Jun 30, 2008 at 12:06:02PM +0530, Prateek.Mathur@lntinfotech.com wrote:> I wanted to know is Samba able to notify any changes made to the > shared directory or files to the clients instantly or not? > If I change/edit the file in a shared path and some clients are viewing > that file will the changes get reflected to them instantly without doing a > to refresh by the clients. > I came across sumthing called CHANGE NOTIFY in samba configuration > parameters but i m not sure how to make use of it as it is set to YES by > default. > > Any help in this area as to how we can enable change notification in SAMBA > will be extremely useful.In recent Samba versions it should work fine. If it does not work with 3.0.28a or later, please tell us. But please be aware that recent Windows client seem to have a caching policy that goes beyond notify, so that although Samba sends notifications Windows would not update the explorer Window. Someone on this list could reproduce it against a Windows server as well. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20080630/22451fd4/attachment.bin
Prateek.Mathur@lntinfotech.com
2008-Jun-30 08:51 UTC
[Samba] File Change notification in Samba
Hi, How can i see this working. I tried sharing a text file in samba..Opened it from windows machine and then changed it on my samba linux machine..i was not able to se any change refleted to my opened txt file window.. If i close it , refresh and then open i can c the changes. let me know how can i make it work? Thanks for your response. Regards, Prateek Mathur Software Engineer Product Engg. Services (PES) Group, Volker Lendecke <Volker.Lendecke@SerNet.DE> 06/30/2008 01:02 PM Please respond to Volker.Lendecke@SerNet.DE To Prateek.Mathur@lntinfotech.com cc samba@lists.samba.org Subject Re: [Samba] File Change notification in Samba On Mon, Jun 30, 2008 at 12:06:02PM +0530, Prateek.Mathur@lntinfotech.com wrote:> I wanted to know is Samba able to notify any changes made to the> shared directory or files to the clients instantly or not? > If I change/edit the file in a shared path and some clients are viewing > that file will the changes get reflected to them instantly without doinga> to refresh by the clients. > I came across sumthing called CHANGE NOTIFY in samba configuration > parameters but i m not sure how to make use of it as it is set to YES by> default. > > Any help in this area as to how we can enable change notification inSAMBA> will be extremely useful.In recent Samba versions it should work fine. If it does not work with 3.0.28a or later, please tell us. But please be aware that recent Windows client seem to have a caching policy that goes beyond notify, so that although Samba sends notifications Windows would not update the explorer Window. Someone on this list could reproduce it against a Windows server as well. Volker [attachment "attft63p.dat" deleted by Prateek Mathur/LNTINFOTECH] ______________________________________________________________________