walber
(usa CentOS)
Enviado em 18/06/2008 - 19:29h
Olá galera do vol, estou com seguinte problema: gostaria de usar o audit do samba gerando o log dessa forma:
Sep 21 18:47:42 jupiter samba[23988]: uranus rollout jwall(514) sysadmin(233) jwall(192.168.1.50) SHAREOPEN
Sep 21 18:48:01 jupiter samba[23988]: jupiter home jwall(514) jwall(514) jwall(192.168.1.50) FILEDELETE file="jwall/New Text Document.txt"
Sep 21 18:49:08 jupiter samba[23989]: uranus rollout abakun(500) sysadmin(233) abakun(192.168.1.20) SHAREOPEN
Sep 21 18:49:52 jupiter samba[23988]: jupiter - - - jwall(192.168.1.50) LOGON interactive logon attempt for kdart
Sep 21 18:49:52 jupiter samba[23988]: jupiter - - - jwall(192.168.1.50) LOGONFAIL wrong password for kdart
Sep 21 18:49:55 jupiter samba[23988]: jupiter - - - jwall(192.168.1.50) LOGON interactive logon attempt for kdart
Sep 21 18:49:55 jupiter samba[23988]: jupiter - - - jwall(192.168.1.50) LOGON successful logon for kdart
Sep 21 18:49:59 jupiter samba[23988]: jupiter - - - jwall(192.168.1.50) LOGOFF user 100(100)
Sep 21 18:51:44 jupiter samba[23988]: uranus rollout jwall(514) sysadmin(233) jwall(192.168.1.50) SHARECLOSE
Sep 21 18:59:18 jupiter samba[23989]: uranus rollout abakun(500) sysadmin(233) abakun(192.168.1.20) SHARECLOSE
Mostrando tudo o que os usuarios realizaram e naõ dessa forma que o meu audit está gerando:
Jun 18 19:00:41 localhost last message repeated 5 times
Jun 18 19:00:41 localhost smbd_audit[3681]: opendir Nova pasta
Jun 18 19:00:42 localhost smbd_audit[3681]: opendir ./
Jun 18 19:00:42 localhost smbd_audit[3681]: opendir Nova pasta
Jun 18 19:00:42 localhost smbd_audit[3681]: rmdir Nova pasta
Jun 18 19:00:43 localhost smbd_audit[3681]: opendir ./
Jun 18 19:01:20 localhost smbd_audit[3681]: opendir ./
Jun 18 19:01:20 localhost smbd_audit[3681]: opendir .
E a configuração do meu samba está assim:
vfs object = audit
Pois assim ele não mostra os rastros dos usuarios, se alguém poder me ajudar?
Obrigado a todos.