[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 __ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File Change notification in Samba
On Mon, Jun 30, 2008 at 12:06:02PM +0530, [EMAIL PROTECTED] 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 pgpAVP88pjUBJ.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [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 [EMAIL PROTECTED] 06/30/2008 01:02 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc samba@lists.samba.org Subject Re: [Samba] File Change notification in Samba On Mon, Jun 30, 2008 at 12:06:02PM +0530, [EMAIL PROTECTED] 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 [attachment attft63p.dat deleted by Prateek Mathur/LNTINFOTECH] __ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File Change notification in Samba
On Mon, 30 Jun 2008 14:02:03 +0530 [EMAIL PROTECTED] wrote: 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. Hi, As far as I'm aware, this won't work in windows either, nor will it work using Linux files between linux systems [0]. Am I correct in thinking that you want to have a single file updated in real-time from a number of locations? M. [0] unless you've got a really clever bit of software that automatically reloads the file every time a change is detected! -- Matthew Macdonald-Wallace [EMAIL PROTECTED] http://www.truthisfreedom.org.uk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File Change notification in Samba
On Mon, Jun 30, 2008 at 02:02:03PM +0530, [EMAIL PROTECTED] wrote: 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. Oh, that will not work. The change notify stuff I talked about only works for directories, not for file contents. For file content's it is a matter of the applications themselves, but I'm not aware of a mechanism that would allow this to work cross-platform. Volker pgpiUKT7Fa7Tz.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File Change notification in Samba
Hi, I was not able to see any directory changes also without refreshing it. I tried adding files and renaming the existing one but was not able to see the changes on the windows explorer. We need to set sumthing in the samba.conf for this to happen? Regards, Prateek Mathur Software Engineer Volker Lendecke [EMAIL PROTECTED] 06/30/2008 02:35 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc samba@lists.samba.org Subject Re: [Samba] File Change notification in Samba On Mon, Jun 30, 2008 at 02:02:03PM +0530, [EMAIL PROTECTED] wrote: 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. Oh, that will not work. The change notify stuff I talked about only works for directories, not for file contents. For file content's it is a matter of the applications themselves, but I'm not aware of a mechanism that would allow this to work cross-platform. Volker [attachment attdgf13.dat deleted by Prateek Mathur/LNTINFOTECH] __ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Fw: [Samba] File Change notification in Samba
Samba version i m using is 3.0.30 over Red hat linux 9 Regards, Prateek Mathur Volker Lendecke [EMAIL PROTECTED] 06/30/2008 03:26 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc samba@lists.samba.org Subject Re: [Samba] File Change notification in Samba On Mon, Jun 30, 2008 at 02:54:32PM +0530, [EMAIL PROTECTED] wrote: I was not able to see any directory changes also without refreshing it. I tried adding files and renaming the existing one but was not able to see the changes on the windows explorer. We need to set sumthing in the samba.conf for this to happen? What Samba version are you using? What Unix? Volker [attachment att6c5nn.dat deleted by Prateek Mathur/LNTINFOTECH] __ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Fw: [Samba] File Change notification in Samba
On Mon, Jun 30, 2008 at 04:10:07PM +0530, [EMAIL PROTECTED] wrote: Samba version i m using is 3.0.30 over Red hat linux 9 Wow, RH9 is ancient history, this definitely has no inotify. If you created the file in unix, there's no way in that Linux version this can be transferred to user space with 3.0.30. If you created the file with another windows client, it should work. If that is the case, please file a bug at https://bugzilla.samba.org and upload your smb.conf and a debug level 10 log of both smbds, the one that created the file, and the one that should see the notify. Volker pgpyw4iXjxdRs.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] File change notification.
Regarding the following thread. http://lists.samba.org/archive/samba-technical/2005-March/040075.html Does anyone know where to obtain the patch, it appears to be truncated in the mail archive. I am having the same problem, Windows 2003 + IIS6 is not updating cached ASP and ASP.NET pages. I see that Samba replies to all file change notification requests with 0x010C (STATUS_NOTIFY_ENUM_DIR), however IIS does not seem to respect this response. Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba