Samba логирования write, pwrite, read, pread, rename в чем может быть проблема?

Автор Depresnak, 13 апреля 2020, 14:36:10

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Depresnak

Здравствуйте
samaba 4.9.5

столкнулся со следующей проблемой:
в лог не пишутся события write, pwrite, read, pread при этом все остальные есть

конфиг следующий

[обменник1]
comment = share directory
inherit acls = yes
inherit owner = yes
path = /storage/Обменник1
inherit permissions = yes
hide unreadable = yes
writeable = yes
read only = no
browseable = yes
# guest ok = yes
valid users = samara, buzuluk, volgograd, krym, tolyatti, ulyanovsk, otradnyj, kogalym, mirniy, krasnodar, samaratc, crimeatc, moskva, nnovgorod, sevastopol, chelyabinsk,
vfs objects = recycle crossrename full_audit
full_audit:prefix: = %u|%I|%L|%m|%s
full_audit:success = connect, disconnect, mkdir, rmdir, read, pread, sendfile, write, rename, pwrite, fchown, chmod, fchmod
full_audit:failure = none
full_audit:facility = local5
full_audit:priority = notice
recycle:repository = /storage/recycle/.recycle
btrfs: manipulate snapshots = no
recycle:exclude = *.tmp,*.temp,*.o,*.obj,~$*,*.~??,*.trace,*.VOB,*.mp4,*.avi,*.crdownload,~*,*TMP,*.iso,*.flv,*.webm,*.MOV,*.mpg,*.wmv,*.exe
recycle:excludedir = /tmp,/temp,/cache
recycle:keeptree = yes
recycle:touch = yes
recycle:touch_mtime = yes
recycle:versions = yes
recycle:maxsize = 0
recycle:directory_mode = 0777



/etc/rsyslog.conf
local5.notice -/var/log/samba/audit.log
В чем может быть продлема?

dsdsda

Цитата: Depresnak от 13 апреля 2020, 14:36:10
Здравствуйте
samaba 4.9.5

столкнулся со следующей проблемой:
в лог не пишутся события write, pwrite, read, pread при этом все остальные есть

конфиг следующий

[обменник1]
comment = share directory
inherit acls = yes
inherit owner = yes
path = /storage/Обменник1
inherit permissions = yes
hide unreadable = yes
writeable = yes
read only = no
browseable = yes
# guest ok = yes
valid users = samara, buzuluk, volgograd, krym, tolyatti, ulyanovsk, otradnyj, kogalym, mirniy, krasnodar, samaratc, crimeatc, moskva, nnovgorod, sevastopol, chelyabinsk,
vfs objects = recycle crossrename full_audit
full_audit:prefix: = %u|%I|%L|%m|%s
full_audit:success = connect, disconnect, mkdir, rmdir, read, pread, sendfile, write, rename, pwrite, fchown, chmod, fchmod
full_audit:failure = none
full_audit:facility = local5
full_audit:priority = notice
recycle:repository = /storage/recycle/.recycle
btrfs: manipulate snapshots = no
recycle:exclude = *.tmp,*.temp,*.o,*.obj,~$*,*.~??,*.trace,*.VOB,*.mp4,*.avi,*.crdownload,~*,*TMP,*.iso,*.flv,*.webm,*.MOV,*.mpg,*.wmv,*.exe
recycle:excludedir = /tmp,/temp,/cache
recycle:keeptree = yes
recycle:touch = yes
recycle:touch_mtime = yes
recycle:versions = yes
recycle:maxsize = 0
recycle:directory_mode = 0777



/etc/rsyslog.conf
local5.notice -/var/log/samba/audit.log
В чем может быть продлема?
Поставьте пожалуйста, в конфиге, перед всеми параметрами:
log level = 1 vfs:1
Debian GNU/Linux (stable/testing/unstable)

Depresnak