Операционная система FreeBSD 7, версия samba-3.0.34,1
Пытаюсь настроить модуль full_audit в соответсвии со статьей на сайте.Конфиг самбы:
# Samba config file created using SWAT
# from 10.4.100.125 (10.4.100.125)
# Date: 2008/05/08 18:22:29[global]
dos charset = cp866
unix charset = koi8-r
display charset = koi8-r
workgroup = bgita2
server string = Медиа-сервер
netbios name = media
interfaces = 10.4.14.80/255.255.255.0, 10.4.10.80/255.255.255.0, 10.4.11.80/255.255.255.0, 10.4.12.80/255.255.255.0, 10.4.13.80/255.255.255.0, 10.4.1
bind interfaces only = Yes
guest account = guest
;log file = /var/log/samba/%I
max log size = 0
dns proxy = No
log level = 0 vfs:2
max log size = 0
syslog = 0
;log level = 0 extd_audit:10
;wins server = none
wins support = Yes
os level = 160
domain master = yes
preferred master = yes
local master = yes
browse list = yes
enhanced browsing = yes
wins proxy = yes
name resolve order = wins bcasr lmhosts hosts
remote announce = 10.4.10.255 10.4.11.255 10.4.12.255 10.4.13.255 10.4.14.255
remote browse sync = 10.4.10.255 10.4.11.255 10.4.12.255 10.4.13.255 10.4.14.255
hosts allow = 10.4., 127.
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
read size = 32768
read raw = yes
read prediction = true
write raw = yes
wide links = no
oplocks = yes
max xmit = 65535
dead time = 15
getwd cache = yes
lpq cache = 30
level2 oplocks = true
hide unreadable[Обменник]
# ADDED BY KASPERSKY ANTI-VIRUS FOR SAMBA SERVERS 5.5
vfs object = kavsamba5-smb-3.0.26a full_audit
full_audit:prefix = %u|%I
full_audit:failure = none
full_audit:success = connect disconnect opendir mkdir rmdir closedir open close read pread write pwrite sendfile rename unlink chmod fchmod chown fcho
full_audit:facility = local5
full_audit:priority = notice
;vfs object = full_audit kavsamba5-smb-3.0.26a
# ADDED BY KASPERSKY ANTI-VIRUS FOR SAMBA SERVERS 5.5
; vfs object = kavsamba5-smb-3.0.26a
comment = Обменник
path = /exchanger
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
veto files = /autorun.*/*sex*/
# vfs objects = vscan-clamav
# vscan-clamav:config-file = /usr/local/etc/samba/vscan-clamav.confВ логах пишет следующее:
[2009/04/23 11:45:08, 0] modules/vfs_full_audit.c:log_success(689)
log_success() failed to get vfs_handle->data!
[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
log_success() failed to get vfs_handle->data!
[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
log_success() failed to get vfs_handle->data!
[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
log_success() failed to get vfs_handle->data!
[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
log_success() failed to get vfs_handle->data!
[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
log_success() failed to get vfs_handle->data!Куда копать?
>[оверквотинг удален]
>[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
> log_success() failed to get vfs_handle->data!
>[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
> log_success() failed to get vfs_handle->data!
>[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
> log_success() failed to get vfs_handle->data!
>[2009/04/23 11:45:39, 0] modules/vfs_full_audit.c:log_success(689)
> log_success() failed to get vfs_handle->data!
>
>Куда копать?
Спасибо, это я уже читал здесь http://www.opennet.me/base/net/samba_full_audit.txt.html
Почему не работает у меня этот модуль, что за ошибка?
>Куда копать?Касперский отключать пробовали?
Пробовал, не помогает.
> Пробовал, не помогает.замените fcho на echo