Koozali.org: home of the SME Server

File Access Logs

Offline trystnw

  • **
  • 22
  • +0/-0
File Access Logs
« on: February 18, 2010, 08:45:38 AM »
Good Afternoon

As part of ISMS audit requirements for ISO 27001, One of my clients need to maintain a log of all files accessed , modified, deleted from specific Ibays. Is this possible?
How can i also see user login/logout time details ?

Thanks
Sharath

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: File Access Logs
« Reply #1 on: February 18, 2010, 01:48:16 PM »
I think you'll need to customize the samba logging on your SME server.

Here are some notes on the smb.conf 'loglevel' directive: http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#LOGLEVEL

It doesn't look like there's any facility in /etc/e-smith/templates/etc/smb.conf/* for setting the loglevel using db variables, so you'll need to create a custom template fragment.

If you haven't done any "custom templating" before, do some searches on "template fragment" and "custom template fragment" in the wiki, and read http://wiki.contribs.org/Template_Tutorial

A quick glance suggests that the template fragment to customize would be /etc/e-smith/templates/etc/smb.conf/11logFile - start by copying the default file to /etc/e-smith/templates-custom/etc/smb.conf/11logFile, then make your changes to the ".../templates-custom/..." version.


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: File Access Logs
« Reply #2 on: August 24, 2010, 12:22:56 PM »
Good Afternoon

As part of ISMS audit requirements for ISO 27001, One of my clients need to maintain a log of all files accessed , modified, deleted from specific Ibays. Is this possible?
How can i also see user login/logout time details ?

Thanks
Sharath

Hi.. take a look here and the related bug

HTH