Koozali.org: home of the SME Server

ibays log

Offline darmasanthi

  • ****
  • 139
  • +0/-0
ibays log
« 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 : :???:

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: ibays log
« Reply #1 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]
« Last Edit: August 20, 2009, 02:13:44 PM by mmccarn »