On Wed, 15 Oct 2003, dave giffin wrote:

> is it possible to have a samba daemon call an
> executable script each time a file within one of it
> shares is modified or a new file is created?

Yes. You will need to write a VFS module to do that.
Suggest you start with Samba-3.0.1pre CVS code. Look in the directory:

~samba/sources/modules

There are a few sample modules in that directory that will give you the
idea.

>
> I'm looking to develop a file catalogging system for
> my file server which depends on my software being
> notified each time a file is modified or a new file
> created.

You will need to craft your own module. Please do contribute your solution
to add to the choices already there.

- John T.

>
> This allows the modified/new file to be scanned for
> relavent information.
>
> :)
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to