Patch for events like "On Create", "On Modify"...

Jason Cook jasonc at
Sat Nov 10 09:53:06 GMT 2001

* Daniel William Schultz (danws at wrote:
> Hi all :)
> I have spent my night thinking about one problem that my company asked me to solve, and I come to the conclusion that is a little
> bit easy to do ( I guess... ).
> The problem with the Recycle bin was solved with the patches that Brandon made ( )...the recycle bin is working fine :)
> Lets see: The files go to the bin on a kind of "On delete" event ?
> Why don't create one patch for "On Create/Modify" event ? We could use it for checking viruses "on the fly", dont you think ?
> I was looking in the subdirs of the samba source, and I found one audit.c , on examples/ looks like a kind of 
> logging on create/modify/delete/chmod files and create/delete/rename directories.
> Looking by this side, we could change the audit.c, and instead of logging this actions, it could exec one command like: 
> "/usr/local/av/uvscan --parameters... %var"
> I really don't know how to do this ( In fact I'm trying to find some docs about C to see if I find the parameter needed to change the audit.c to execute other command ), and I will try to learn a bit of C to change, but I don't know if I will make it...
> So, the idea is boss is asking every day for this, and I don't know another way to make things easier to work
> with one antivirus :/
> Thanks to Brandon for the Recycle Bin patches, thank you all for the attention.
> Daniel William Schultz.

This is being worked on as a VFS module be Rainer Link.  See <>.

Jason Cook                 |  GnuPG Fingerprint: D531 F4F4 BDBF 41D1 514D
GNU/Linux Technical Lead   |                     F930 FD03 262E 5120 BEDD
evolServ Technology        |  Home page:

I don't know whether it takes fifteen or twenty years to do Microsoft in -
what difference does it make?  They're going down.  You can't make less good
stuff and sell it at high prices indefinitely when the good stuff is free.
		-- Eben Moglen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url :

More information about the samba-ntdom mailing list