On Sun, Jun 06, 2004 at 12:30:58PM +0200, Christoph Moench-Tegeder wrote:
> ## LeVA ([EMAIL PROTECTED]):
> 
> > Is it possible to log the file/dir accesses to samba server? I.e. I got 
> > a share, and when someone mounts (from win or unix) it and access file, 
> > or write files I want samba to log it to the smb.log. Is this possible?
> 
> Ever had a look in /var/log/samba/? If you are missing something,
> increase log level in smb.conf.
 The problem is - in order to see file/dir accesses you need to increase
log level in smb.conf. 
 This sounds innocent enough unless you actually do it - the level in which
you see those accesses is one of 'DEBUG' ones, and you get GIGs of logfiles
per day/hour, and then parsing this becomes a nightmare.

 So simple task like finding who created this 'John Doe is f***ing faggot'
with porn on your samba fileserver is not as easy as with ftp servers (this
is party because of protocol nature, but not that much ).

btw, I'd be very interested if someone knew solution to this that does not
require modifying samba source and then maintaining your own packages...

-- 
Dariush Pietrzak,
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9

Reply via email to