You need to use at least samba-2.2.7a and use the audit.so module. The samba source code has what you need. Check out the information in ~samba/examples/VFS/audit.c and in the README file in that directory.
-- Calomel @ http://calomel.org OpenSource Research and Reference On Sun, Oct 28, 2007 at 03:22:27PM +0100, [EMAIL PROTECTED] wrote: >Hello > >I've set up a little samba server on my OpenBSD box. >I would like to know which files are being accessed (write, copy) by smbd. > >I tried fstat, pstat but none of them give me the name of the files. > >Any idea ? > >Thanks