[Samba] log file access on shares?

John H Terpstra jht at samba.org
Thu Jan 16 16:21:01 GMT 2003

On Thu, 16 Jan 2003, Juergen R. Plasser wrote:

> I am new to samba and this list,
> i'd like to know if it's possible to log all file accesses on the shares
> with Samba (for example to investigate who has deleted files on the share).

Yes. You need to use samba-2.2.7a and use the audit.so module. Please
download the samba source code and check out the information in
~samba/examples/VFS/audit.c and in the README file in that directory.

> Sorry for this kind of stupid question to all the experts out there ;-)

No need to be sorry for not knowing.

- John T.
John H Terpstra
Email: jht at samba.org

More information about the samba mailing list