Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-110035

samba full_audit not filtering

    XMLWordPrintable

    Details

    • Impact:
      Medium

      Description

      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

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                hkant Josh Kant
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: