Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.
and then on the desired share also set auxiliary parameter like this
vfs objects = full_audit
according to my knowledge and smb.conf man pages it should log only log operations which are in full_audit:success list, in the /var/log/messages file i see every single file operarions even more than i listed in full_audit:success string. here are some extra operations i see stat realpath connectpath getxattr get_dos_attributes file_id_create stat get_nt_acl file_id_create create_file getxattr get_dos_attributes stat get_nt_acl fs_file_id get_alloc_size
can someone tell me where is my error or if this system error and i'm not only one who stands with this problem? system is fresh installed and not updated from older versions
This is issue with upstream samba due to VFS modernizations. Not really bug. It's just an issue with using incorrect parameters for the current version of Samba. I've discussed some on Samba-Technical and have adjusted our version for U3 to be more tolerant of misconfigurations.
The following are invalid: mkdir rmdir rename unlink
I was trying to set logging for samba shares with vfs objects/
I have set Auxiliary for smb service in Services -> SMB like this
full_audit:prefix =%u|%I|%m|%S
full_audit:failure =connect
full_audit:success =mkdir rmdir write pwrite sendfile rename unlink
full_audit:facility =LOCAL5
full_audit:priority =NOTICE
and then on the desired share also set auxiliary parameter like this
vfs objects = full_audit
according to my knowledge and smb.conf man pages it should log only log operations which are in full_audit:success list, in the /var/log/messages file i see every single file operarions even more than i listed in full_audit:success string.
here are some extra operations i see stat realpath connectpath getxattr get_dos_attributes file_id_create stat get_nt_acl file_id_create create_file getxattr get_dos_attributes stat get_nt_acl fs_file_id get_alloc_size
can someone tell me where is my error or if this system error and i'm not only one who stands with this problem?
system is fresh installed and not updated from older versions