[Samba] Monitor samba per user ?

Sherwood Botsford sbotsford at sjsa.ab.ca
Thu Feb 1 17:36:22 GMT 2007


Vladimir Strycek wrote:
> Hi all
>
> Is there a way to monitor samba per user ? Like what user 
> downloaded/uploaded and when ...
>
> smbstatus does not provide this info... and after hours googling with 
> no luck im posting here.
>
> Best regards
> Vladimir
log level = 2
Now, making sense of this is something else.

Here's what you get:


[2007/02/01 10:20:28, 1] smbd/service.c:close_cnum(677)
  lab-104 (192.168.1.104) closed connection to service rendezvous
[2007/02/01 10:20:35, 2] smbd/open.c:open_file(246)
  penberthy opened file WinZip/WINZIP32.EXE read=Yes write=No (numopen=1)
[2007/02/01 10:20:36, 2] smbd/open.c:open_file(246)
  penberthy opened file Documents/New Folder/TESTDIR.TMP read=Yes 
write=Yes (numopen=2)
[2007/02/01 10:20:36, 2] smbd/close.c:close_normal_file(229)
  penberthy closed file Documents/New Folder/TESTDIR.TMP (numopen=1)
[2007/02/01 10:20:41, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.1.104)
[2007/02/01 10:20:45, 2] smbd/close.c:close_normal_file(229)



More information about the samba mailing list