1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_audit.8">
6 <refentrytitle>vfs_audit</refentrytitle>
7 <manvolnum>8</manvolnum>
12 <refname>vfs_audit</refname>
13 <refpurpose>record selected Samba VFS operations in the system log</refpurpose>
18 <command>vfs objects = audit</command>
23 <title>DESCRIPTION</title>
25 <para>This VFS module is part of the
26 <citerefentry><refentrytitle>samba</refentrytitle>
27 <manvolnum>7</manvolnum></citerefentry> suite.</para>
29 <para>The <command>vfs_audit</command> VFS module records selected
30 client operations to the system log using
31 <citerefentry><refentrytitle>syslog</refentrytitle>
32 <manvolnum>3</manvolnum></citerefentry>.</para>
34 <para>The following Samba VFS operations are recorded:</para>
36 <member>connect</member>
37 <member>disconnect</member>
38 <member>opendir</member>
39 <member>mkdir</member>
40 <member>rmdir</member>
42 <member>close</member>
43 <member>rename</member>
44 <member>unlink</member>
45 <member>chmod</member>
46 <member>fchmod</member>
47 <member>chmod_acl</member>
48 <member>fchmod_acl</member>
51 <para>This module is stackable.</para>
57 <title>OPTIONS</title>
62 <term>audit:facility = FACILITY</term>
64 <para>Log messages to the named
65 <citerefentry><refentrytitle>syslog</refentrytitle>
66 <manvolnum>3</manvolnum></citerefentry> facility.
74 <term>audit:priority = PRIORITY</term>
76 <para>Log messages with the named
77 <citerefentry><refentrytitle>syslog</refentrytitle>
78 <manvolnum>3</manvolnum></citerefentry> priority.
88 <title>EXAMPLES</title>
90 <para>Log operations on all shares using the LOCAL1 facility
91 and NOTICE priority:</para>
94 <smbconfsection name="[global]"/>
95 <smbconfoption name="vfs objects">audit</smbconfoption>
96 <smbconfoption name="audit:facility">LOCAL1</smbconfoption>
97 <smbconfoption name="audit:priority">NOTICE</smbconfoption>
103 <title>VERSION</title>
105 <para>This man page is correct for version 3.0.25 of the Samba suite.
110 <title>AUTHOR</title>
112 <para>The original Samba software and related utilities
113 were created by Andrew Tridgell. Samba is now developed
114 by the Samba Team as an Open Source project similar
115 to the way the Linux kernel is developed.</para>