Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: darmasanthi on August 20, 2009, 05:10:10 AM

Title: ibays log
Post by: darmasanthi on August 20, 2009, 05:10:10 AM
Dear All,
is there any solution to record all activity of the user for accessing the ibays,
specially to recording the "deletion", "changing", or "moving" any content on ibays folder, which is doing by the user have an access to the ibays.
in the short words, a "logs" for user activity of accessing the ibays (Deleted, Changing, Moving,... etc)

regards,
darmasanthi : :???:
Title: Re: ibays log
Post by: mmccarn on August 20, 2009, 02:09:07 PM
From looking at http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html, I suspect you need to customize /etc/e-smith/templates/etc/smb.conf/ibays/90vfs to add "extd_audit" to the "vfs objects" section of the [ibayname] declarations, then customize the log level to get your audit info...

[note]
I edited this post to change the recommended template from /etc/e-smith/templates/etc/smb.conf/50homesVFS (which would affect users' home directories) to /etc/e-smith/templates/etc/smb.conf/ibays/90vfs (in order to affect ibays as requested).
[/note]