Koozali.org: home of the SME Server

set up log verbosity of samba

Offline ancorte

  • *
  • 29
  • +0/-0
set up log verbosity of samba
« 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.

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: set up log verbosity of samba
« Reply #1 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
C'est la fin du monde !!! :lol:

Offline ancorte

  • *
  • 29
  • +0/-0
Re: set up log verbosity of samba
« Reply #2 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