vfs_audit - Man Page

record selected Samba VFS operations in the system log

Synopsis

vfs objects = audit

Description

This VFS module is part of the samba(7) suite​.

The vfs_audit VFS module records selected client operations to the system log using syslog(3)​.

The following Samba VFS operations are recorded:

connect
disconnect
opendir
mkdir
rmdir
open
close
rename
unlink
chmod
fchmod

This module is stackable​.

Options

audit:facility = FACILITY

Log messages to the named syslog(3) facility​.

audit:priority = PRIORITY

Log messages with the named syslog(3) priority​.

Examples

Log operations on all shares using the LOCAL1 facility and NOTICE priority:

        [global]
	vfs objects = audit
	audit:facility = LOCAL1
	audit:priority = NOTICE

Version

This man page is part of version 4​.25​.1 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​.

Info

10/25/2026 Samba 4.25.1 System Administration tools