Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: ancorte on September 19, 2014, 12:44:40 PM

Title: set up log verbosity of samba
Post by: ancorte on September 19, 2014, 12:44:40 PM
Hi, i'm tryng to set up the level of verbosity in samba (so i can see the use of ibays). Actually, all the samba'slog file are empty (are the file with the ip address). I tried with the etc/e-smith/template customs and expand, but probabily i make some mistake.
How can i do it ? Thanks for help.
Title: Re: set up log verbosity of samba
Post by: Daniel B. on September 19, 2014, 01:19:06 PM
if you want to log samba access to ibays (each file or directory being opened etc...), you should just enable the Audit feature:

Code: [Select]
db account setprop mysuperibay Audit enabled
signal-event ibay-modify mysuperibay

Audit logs will be visible in /var/log/samba/samba_audit
Title: Re: set up log verbosity of samba
Post by: ancorte on September 19, 2014, 05:53:43 PM
Ok, i did it, but the file samba_audit is still empty. what's wrong ?
Thanks again