[Samba] Receiving async directory change notifications from a Windows Server host on a Linux client

2012-03-21 Thread Tin Tvrtković
Hello everyone, I need a way to programatically monitor a remote SMB share (hosted on a Windows server) for new files, in an asynchronous (inotify-like) way from a Linux machine. The directory I'd be monitoring might have a large number of files, so I'd like to avoid constant polling. I'm open to

Re: [Samba] Receiving async directory change notifications from a Windows Server host on a Linux client

2012-03-22 Thread Jeremy Allison
On Mon, Mar 19, 2012 at 11:30:34AM +0100, Tin Tvrtković wrote: > Hello everyone, > > I need a way to programatically monitor a remote SMB share (hosted on a > Windows server) for new files, in an asynchronous (inotify-like) way from a > Linux machine. The directory I'd be monitoring might have a l

Re: [Samba] Receiving async directory change notifications from a Windows Server host on a Linux client

2012-03-27 Thread Tin Tvrtković
I'll take a look, thanks! On Thu, Mar 22, 2012 at 11:10 PM, Jeremy Allison wrote: > On Mon, Mar 19, 2012 at 11:30:34AM +0100, Tin Tvrtković wrote: > > Hello everyone, > > > > I need a way to programatically monitor a remote SMB share (hosted on a > > Windows server) for new files, in an asynchro

Re: [Samba] Receiving async directory change notifications from a Windows Server host on a Linux client

2012-04-02 Thread Volker Lendecke
On Mon, Mar 26, 2012 at 02:03:12PM +0200, Tin Tvrtković wrote: > I'll take a look, thanks! You should use at least hash 831a97c147c6, otherwise you will see NT_STATUS_IO_TIMEOUT where you should not. Volker > > On Thu, Mar 22, 2012 at 11:10 PM, Jeremy Allison wrote: > > > On Mon, Mar 19, 2012