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

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Apr 2 04:34:31 MDT 2012


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 <jra at samba.org> 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 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 just about
> > > anything, from parsing smbclient stdout, to writing my own little C
> > wrapper
> > > around libsmbclient or a JCIFS Java application.
> > >
> > > I'd like to know if this kind of async monitoring is even possible, and
> > > what would be a good way to go about implementing it?
> >
> > If you're willing to work out of git-master, Volker just added a
> > notify command to smbclient....
> >
> > Jeremy.
> >
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list