亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 如何知道誰下載了哪個(gè)文件? [打印本頁]

作者: netstu    時(shí)間: 2008-09-24 10:44
標(biāo)題: 如何知道誰下載了哪個(gè)文件?
SAMBA是以user為論證模式的,想知道都哪些用戶上傳了哪些文件,哪些用戶下載了哪些文件,想完全記錄這些日志,如何實(shí)現(xiàn)?
作者: lovegqin    時(shí)間: 2008-09-24 10:49
提示: 作者被禁止或刪除 內(nèi)容自動(dòng)屏蔽
作者: netstu    時(shí)間: 2008-09-24 11:00
這樣的話,會(huì)不會(huì)記錄很多沒有用的信息,而我只是想知道

誰在什么時(shí)間下載或者上傳了哪些文件
作者: lovegqin    時(shí)間: 2008-09-24 11:35
提示: 作者被禁止或刪除 內(nèi)容自動(dòng)屏蔽
作者: netstu    時(shí)間: 2008-09-24 11:59
[2008/09/24 11:55:53,  5] smbd/uid.c:change_to_root_user(287)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2008/09/24 11:55:53,  4] smbd/vfs.c:vfs_ChDir(733)
  vfs_ChDir to /tmp
[2008/09/24 11:55:53,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/09/24 11:55:53,  5] auth/token_util.c:debug_nt_user_token(462)
  NT user token: (NULL)
[2008/09/24 11:55:53,  5] auth/token_util.c:debug_unix_user_token(48
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2008/09/24 11:55:53,  5] smbd/uid.c:change_to_root_user(287)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2008/09/24 11:55:53,  3] smbd/service.c:close_cnum(1399)
  20080908-1143 (::ffff:192.168.0.41) closed connection to service IPC$
[2008/09/24 11:55:53,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to IPC$
[2008/09/24 11:55:53, 10] lib/dbwrap_tdb.c:db_tdb_fetch_locked(100)
  Locking key 6A300000010000004950
[2008/09/24 11:55:53, 10] lib/dbwrap_tdb.c:db_tdb_fetch_locked(129)
  Allocated locked data 0x0xb9519418
[2008/09/24 11:55:53, 10] lib/dbwrap_tdb.c:db_tdb_record_destr(42)
  Unlocking key 6A300000010000004950
[2008/09/24 11:55:53,  4] smbd/vfs.c:vfs_ChDir(733)
  vfs_ChDir to /
[2008/09/24 11:55:53,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/09/24 11:55:53,  5] auth/token_util.c:debug_nt_user_token(462)
  NT user token: (NULL)
[2008/09/24 11:55:53,  5] auth/token_util.c:debug_unix_user_token(48
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2008/09/24 11:55:53,  5] smbd/uid.c:change_to_root_user(287)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2008/09/24 11:55:53,  5] lib/util.c:show_msg(59
[2008/09/24 11:55:53,  5] lib/util.c:show_msg(60
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=49153
  smb_tid=1
  smb_pid=65279
  smb_uid=0
  smb_mid=50434
  smt_wct=0
  smb_bcc=0
[root@myhost samba]#

以上就是日志文件,這么亂,如何看的到是什么?
作者: lovegqin    時(shí)間: 2008-09-24 14:16
提示: 作者被禁止或刪除 內(nèi)容自動(dòng)屏蔽
作者: netstu    時(shí)間: 2008-09-24 14:32
samba有沒有像subversion一樣的HOOK功能,可以跟蹤他的動(dòng)作,我自己寫SHELL來記錄




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2