LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   log activity in samba (https://www.linuxquestions.org/questions/linux-software-2/log-activity-in-samba-680960/)

packets 11-03-2008 11:31 PM

log activity in samba
 
Is it possible to log all files that was edited by the user or any files modified by that user? I've enabled log in my smb.conf but it only shows user and the ip address but not the file that I have transferred or download.

Is it possible to log all samba activity? I just want to monitor all files that was being upload, download and files being edit.

hopbyhop 11-05-2008 04:24 AM

man smb.conf:
Quote:

log level (G)

The value of the parameter (a astring) allows the debug level
(logging level) to be specified in the smb.conf file.

This parameter has been extended since the 2.2.x series, now it
allows to specify the debug level for multiple debug classes. This
is to give greater flexibility in the configuration of the system.
The following debug classes are currently implemented:

· all

· tdb

· printdrivers

· lanman

· smb

· rpc_parse

· rpc_srv

· rpc_cli

· passdb

· sam

· auth

· winbind

· vfs

· idmap

· quota

· acls

· locking

· msdfs

· dmapi

· registry

Default: log level = 0

Example: log level = 3 passdb:5 auth:10 winbind:2


All times are GMT -5. The time now is 06:14 PM.