[Samba] logging of transferred files

Victor Hiebert vic at sfu.ca
Fri Dec 9 19:01:56 GMT 2005


Had the same issue, it may not be possible to get samba to not use
syslog.

We got what we wanted regardless by adding:

*.*;smbd_audit.none   /var/log/all.log

!smbd_audit
*.*   /var/log/samba/audit.log

to syslog.conf

> I am able to get extd_audit to load, but I cannot force it to stop logging
> to syslog and only to the smb logs, even with syslog = 0 and log level = 0
> vfs:2

> Any ideas?

> thanks

> -----Original Message-----
> From: samba-bounces+cemeyer2=uiuc.edu at lists.samba.org
> [mailto:samba-bounces+cemeyer2=uiuc.edu at lists.samba.org] On Behalf Of Victor
> Hiebert
> Sent: Wednesday, December 07, 2005 2:06 PM
> To: samba at lists.samba.org
> Subject: Re: [Samba] logging of transferred files

> See the built in audit and extd_audit VFS modules.
> http://us1.samba.org/samba/docs/man/Samba3-HOWTO/VFS.html

>> I saw that this was brought up before in the archives, but never answered.

>> My question is how can I set samba to log only which IPs (or hostnames)
>> transfer which files to and from the server so that I can run an analysis
> of
>> its usage?

 

>> I have tried using the built in logging feature, but it creates a massive
>> amount of information, most of which is not useful for my purposes.

 

>> Any help would be appreciated.

 

>> Charlie Meyer

>> Computer Science

>> University of Illinois at Urbana-Champaign

>> cemeyer2 at uiuc.edu




> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba






More information about the samba mailing list