[Samba] Error message when set up samba audit log
Frankie Lau
frankie.lau at hkbn.com.hk
Tue Feb 10 17:51:13 MST 2015
Hi Samba,
I am configuring a samba on CentOS 6.6. I would like set up an full audit log on it but encounter below error message in /var/log/messages.
Do you know any reason and can you fix it for me? Thanks
[root at ndfss ~]# uname -a
Linux ndfss 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root at ndfss ~]# uname -m
x86_64
[root at ndfss ~]# rpm -qa | grep samba
samba-3.6.23-12.el6.x86_64
samba-common-3.6.23-12.el6.x86_64
samba-winbind-3.6.23-12.el6.x86_64
samba-client-3.6.23-12.el6.x86_64
samba4-libs-4.0.0-64.el6.rc4.x86_64
samba-winbind-clients-3.6.23-12.el6.x86_64
===
Error messages
messages:Feb 5 18:34:19 ndfss smbd[35932]: [2015/02/05 18:34:19.121890, 0] modules/vfs_full_audit.c:497(init_bitmap)
messages:Feb 5 18:34:24 ndfss smbd[35979]: [2015/02/05 18:34:24.197578, 0] modules/vfs_full_audit.c:497(init_bitmap)
messages:Feb 5 18:34:44 ndfss smbd[35931]: [2015/02/05 18:34:44.731389, 0] modules/vfs_full_audit.c:497(init_bitmap)
messages:Feb 5 18:35:00 ndfss smbd[35985]: [2015/02/05 18:35:00.032125, 0] modules/vfs_full_audit.c:497(init_bitmap)
messages:Feb 5 18:35:00 ndfss smbd[35985]: [2015/02/05 18:35:00.044090, 0] modules/vfs_full_audit.c:497(init_bitmap)
messages:Feb 5 18:35:11 ndfss smbd[35917]: [2015/02/05 18:35:11.170406, 0] modules/vfs_full_audit.c:497(init_bitmap)
messages:Feb 5 18:35:13 ndfss smbd[36052]: [2015/02/05 18:35:13.074846, 0] modules/vfs_full_audit.c:497(init_bitmap)
===
Below is my smb configure.
[global]
log file = /var/log/samba/%m.log
load printers = no
cups options = raw
browseable = no
server string = ND File Sharing Server
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
unix password sync = yes
workgroup = MYGROUP
encrypt passwords = yes
security = user
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
log level = 0 vfs:0
max log size = 0
dos charset = cp950
unix charset = BIG5
case sensitive = True
preserve case = yes
short preserve case = yes
#vfs objects = recycle full_audit
vfs objects = full_audit
full_audit:priority = DEBUG
full_audit:facility = LOCAL8
full_audit:failure = none
full_audit:success = connect disconnect mkdir rmdir pen close read pread write pwrite sendfile rename unlink chmod
full_audit:prefix = %u|%U|%I|%m|%S
[NI_FS]
browseable = yes
writeable = yes
delete readonly = yes
write list = frankie.lau,yuenfong,sunny.chan, at NIMGT
path = /nhome/NI_FS
valid users = @NIMGT
create mode = 777
directory mode = 777
===
Best Regards,
Frankie Lau
After five long years, 30 HKBN Talents triumphed to transform their impossible dreams into reality. Click here for details<https://www.youtube.com/watch?v=KycoaKaSg2c>.
???????????????????????????????????<http://www.youtube.com/watch?v=REJgXCtkg7U>?
More information about the samba
mailing list