Re: Samba files used logging

2007-10-29 Thread Calomel
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

Samba files used logging

2007-10-28 Thread pcnicolas
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

Re: Samba files used logging

2007-10-28 Thread Alexander Hall
[EMAIL PROTECTED] wrote: 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. Try combining it with ncheck(8) for inode to filename conversion.