Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: trystnw on February 18, 2010, 08:45:38 AM

Title: File Access Logs
Post by: trystnw 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
Title: Re: File Access Logs
Post by: mmccarn 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.

Title: Re: File Access Logs
Post by: Stefano 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 (http://forums.contribs.org/index.php/topic,46444.msg227792.html#msg227792) and the related bug

HTH