• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/docs/manpages/
Generated by db2man.xsl. Don't modify this, modify the source.

\\$1

.. ..

"\\$1" \\$2
..
"VFS_FULL_AUDIT" 8 "" "" ""
"NAME"
vfs_full_audit - record Samba VFS operations in the system log
"SYNOPSIS"

1 vfs objects = full_audit

"DESCRIPTION"

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:

"" 3n
aio_cancel
"" 3n
aio_error
"" 3n
aio_fsync
"" 3n
aio_read
"" 3n
aio_return
"" 3n
aio_suspend
"" 3n
aio_write
"" 3n
chdir
"" 3n
chflags
"" 3n
chmod
"" 3n
chmod_acl
"" 3n
chown
"" 3n
close
"" 3n
closedir
"" 3n
connect
"" 3n
disconnect
"" 3n
disk_free
"" 3n
fchmod
"" 3n
fchmod_acl
"" 3n
fchown
"" 3n
fget_nt_acl
"" 3n
fgetxattr
"" 3n
flistxattr
"" 3n
fremovexattr
"" 3n
fset_nt_acl
"" 3n
fsetxattr
"" 3n
fstat
"" 3n
fsync
"" 3n
ftruncate
"" 3n
get_nt_acl
"" 3n
get_quota
"" 3n
get_shadow_copy_data
"" 3n
getlock
"" 3n
getwd
"" 3n
getxattr
"" 3n
kernel_flock
"" 3n
lgetxattr
"" 3n
link
"" 3n
linux_setlease
"" 3n
listxattr
"" 3n
llistxattr
"" 3n
lock
"" 3n
lremovexattr
"" 3n
lseek
"" 3n
lsetxattr
"" 3n
lstat
"" 3n
mkdir
"" 3n
mknod
"" 3n
open
"" 3n
opendir
"" 3n
pread
"" 3n
pwrite
"" 3n
read
"" 3n
readdir
"" 3n
readlink
"" 3n
realpath
"" 3n
removexattr
"" 3n
rename
"" 3n
rewinddir
"" 3n
rmdir
"" 3n
seekdir
"" 3n
sendfile
"" 3n
set_nt_acl
"" 3n
set_quota
"" 3n
setxattr
"" 3n
stat
"" 3n
statvfs
"" 3n
symlink
"" 3n
sys_acl_add_perm
"" 3n
sys_acl_clear_perms
"" 3n
sys_acl_create_entry
"" 3n
sys_acl_delete_def_file
"" 3n
sys_acl_free_acl
"" 3n
sys_acl_free_qualifier
"" 3n
sys_acl_free_text
"" 3n
sys_acl_get_entry
"" 3n
sys_acl_get_fd
"" 3n
sys_acl_get_file
"" 3n
sys_acl_get_perm
"" 3n
sys_acl_get_permset
"" 3n
sys_acl_get_qualifier
"" 3n
sys_acl_get_tag_type
"" 3n
sys_acl_init
"" 3n
sys_acl_set_fd
"" 3n
sys_acl_set_file
"" 3n
sys_acl_set_permset
"" 3n
sys_acl_set_qualifier
"" 3n
sys_acl_set_tag_type
"" 3n
sys_acl_to_text
"" 3n
sys_acl_valid
"" 3n
telldir
"" 3n
unlink
"" 3n
utime
"" 3n
write

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:


 smbd_audit: PREFIX|OPERATION|RESULT|FILE
 

The record fields are:

3n PREFIX - the result of the full_audit:prefix string after variable substitutions

3n OPERATION - the name of the VFS operation

3n RESULT - whether the operation succeeded or failed

3n FILE - the name of the file or directory the operation was performed on

This module is stackable.

"OPTIONS"

vfs_full_audit:prefix = STRING

Prepend audit messages with STRING. STRING is processed for standard substitution variables listed in smb.conf(5). The default prefix is "%u|%I".

vfs_full_audit:success = LIST

LIST is a list of VFS operations that should be recorded if they succeed. Operations are specified using the names listed above.

vfs_full_audit:failure = LIST

LIST is a list of VFS operations that should be recorded if they failed. Operations are specified using the names listed above.

full_audit:facility = FACILITY

Log messages to the named syslog(3) facility.

full_audit:priority = PRIORITY

Log messages with the named syslog(3) priority.

"EXAMPLES"

Log file and directory open operations on the [records] share using the LOCAL7 facility and ALERT priority, including the username and IP address:


 [records]
 path = /data/records
 vfs objects = full_audit
 full_audit:prefix = %u|%I
 full_audit:success = open opendir
 full_audit:failure = all
 full_audit:facility = LOCAL7
 full_audit:priority = ALERT

"VERSION"

This man page is correct for version 3.0.25 of the Samba suite.

"AUTHOR"

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.