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>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">&doc.version;</refmiscinfo>
15 <refname>vfs_audit</refname>
16 <refpurpose>record selected Samba VFS operations in the system log</refpurpose>
21 <command>vfs objects = audit</command>
26 <title>DESCRIPTION</title>
28 <para>This VFS module is part of the
29 <citerefentry><refentrytitle>samba</refentrytitle>
30 <manvolnum>7</manvolnum></citerefentry> suite.</para>
32 <para>The <command>vfs_audit</command> VFS module records selected
33 client operations to the system log using
34 <citerefentry><refentrytitle>syslog</refentrytitle>
35 <manvolnum>3</manvolnum></citerefentry>.</para>
37 <para>The following Samba VFS operations are recorded:</para>
39 <member>connect</member>
40 <member>disconnect</member>
41 <member>opendir</member>
42 <member>mkdir</member>
43 <member>rmdir</member>
45 <member>close</member>
46 <member>rename</member>
47 <member>unlink</member>
48 <member>chmod</member>
49 <member>fchmod</member>
50 <member>fchmod_acl</member>
53 <para>This module is stackable.</para>
59 <title>OPTIONS</title>
64 <term>audit:facility = FACILITY</term>
66 <para>Log messages to the named
67 <citerefentry><refentrytitle>syslog</refentrytitle>
68 <manvolnum>3</manvolnum></citerefentry> facility.
76 <term>audit:priority = PRIORITY</term>
78 <para>Log messages with the named
79 <citerefentry><refentrytitle>syslog</refentrytitle>
80 <manvolnum>3</manvolnum></citerefentry> priority.
90 <title>EXAMPLES</title>
92 <para>Log operations on all shares using the LOCAL1 facility
93 and NOTICE priority:</para>
96 <smbconfsection name="[global]"/>
97 <smbconfoption name="vfs objects">audit</smbconfoption>
98 <smbconfoption name="audit:facility">LOCAL1</smbconfoption>
99 <smbconfoption name="audit:priority">NOTICE</smbconfoption>
105 <title>VERSION</title>
107 <para>This man page is part of version &doc.version; of the Samba suite.
112 <title>AUTHOR</title>
114 <para>The original Samba software and related utilities
115 were created by Andrew Tridgell. Samba is now developed
116 by the Samba Team as an Open Source project similar
117 to the way the Linux kernel is developed.</para>