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

Tin Tvrtković tinchester at gmail.com
Mon Mar 26 06:03:12 MDT 2012


I'll take a look, thanks!

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.
>


More information about the samba mailing list