|vfs objects = full_audit|
This VFS module is part of the samba(7) suite.
The vfs_full_audit VFS module records selected client operations to the system log using syslog(3).
vfs_full_audit is able to record the complete set of Samba VFS operations:chdirchflagschmodchmod_aclchowncloseclosedirconnectcopy_chunk_sendcopy_chunk_recvdisconnectdisk_freefchmodfchmod_aclfchownfget_nt_aclfgetxattrflistxattrfremovexattrfset_nt_aclfsetxattrfstatfsyncftruncateget_compressionget_nt_aclget_quotaget_shadow_copy_datagetlockgetwdgetxattrkernel_flocklinklinux_setleaselistxattrlocklseeklstatmkdirmknodopenopendirpreadpwritereadreaddirreadlinkrealpathremovexattrrenamerewinddirrmdirseekdirsendfileset_compressionset_nt_aclset_quotasetxattrsnap_check_pathsnap_createsnap_deletestatstatvfssymlinksys_acl_delete_def_filesys_acl_get_fdsys_acl_get_filesys_acl_set_fdsys_acl_set_filetelldirunlinkutimewrite
In addition to these operations, vfs_full_audit recognizes the special operation names "all" and "none ", which refer to all the VFS operations and none of the VFS operations respectively.
vfs_full_audit records operations in fixed format consisting of fields separated by | characters. The format is:
The record fields are:
o PREFIX - the result of the full_audit:prefix string after variable substitutions
o OPERATION - the name of the VFS operation
o RESULT - whether the operation succeeded or failed
o FILE - the name of the file or directory the operation was performed on
This module is stackable.
full_audit:prefix = STRINGPrepend audit messages with STRING. STRING is processed for standard substitution variables listed in smb.conf(5). The default prefix is "%u|%I".
full_audit:success = LISTLIST is a list of VFS operations that should be recorded if they succeed. Operations are specified using the names listed above. Operations can be unset by prefixing the names with "!". The default is all operations.
full_audit:failure = LISTLIST is a list of VFS operations that should be recorded if they failed. Operations are specified using the names listed above. Operations can be unset by prefixing the names with "!". The default is all operations.
full_audit:facility = FACILITYLog messages to the named syslog(3) facility.
full_audit:priority = PRIORITYLog messages with the named syslog(3) priority.
full_audit:syslog = true/falseLog messages to syslog (default) or as a debug level 1 message.
full_audit:log_secdesc = true/falseLog an sddl form of the security descriptor coming in when a client sets an acl. Defaults to false.
Log file and directory open operations on the [records] share using the LOCAL7 facility and ALERT priority, including the username and IP address. Logging excludes the open VFS function on failures:
[records] [blue]path = /data/records [blue]vfs objects = full_audit [blue]full_audit:prefix = %u|%I [blue]full_audit:success = open opendir [blue]full_audit:failure = all !open [blue]full_audit:facility = LOCAL7 [blue]full_audit:priority = ALERT
This man page is correct for version 3.0.25 of the Samba suite.
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
|Samba 4&.3||VFS_FULL_AUDIT (8)||04/11/2016|