diff options
author | Holger Hetterich <hhetter@novell.com> | 2010-02-18 15:13:59 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-28 11:35:18 +0100 |
commit | 99fc004e409ba5e535f1662e92370952777e55ff (patch) | |
tree | 5a376e7f3d91d081440838c9eb02f98fd056b1ba /docs-xml | |
parent | a050c79fabdb73f6437f846777b94f31fe15fc86 (diff) | |
download | samba-99fc004e409ba5e535f1662e92370952777e55ff.tar.gz samba-99fc004e409ba5e535f1662e92370952777e55ff.tar.bz2 samba-99fc004e409ba5e535f1662e92370952777e55ff.zip |
s3: vfs_full_audit.c: implement negated vfs_ops in the success/failure list
Supports negated arguments in configuration like:
full_audit:success = all !readdir !telldir !closedir
Update the manpage accordingly.
Part of BSO#4025
Diffstat (limited to 'docs-xml')
-rw-r--r-- | docs-xml/manpages-3/vfs_full_audit.8.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs-xml/manpages-3/vfs_full_audit.8.xml b/docs-xml/manpages-3/vfs_full_audit.8.xml index 1d519e2e09..9c9dc843f8 100644 --- a/docs-xml/manpages-3/vfs_full_audit.8.xml +++ b/docs-xml/manpages-3/vfs_full_audit.8.xml @@ -184,7 +184,8 @@ <listitem> <para>LIST is a list of VFS operations that should be recorded if they succeed. Operations are specified using - the names listed above. + the names listed above. Operations can be unset by prefixing + the names with "!". </para> </listitem> @@ -195,7 +196,8 @@ <listitem> <para>LIST is a list of VFS operations that should be recorded if they failed. Operations are specified using - the names listed above. + the names listed above. Operations can be unset by prefixing + the names with "!". </para> </listitem> @@ -232,7 +234,8 @@ <para>Log file and directory open operations on the [records] share using the LOCAL7 facility and ALERT priority, including - the username and IP address:</para> + the username and IP address. Logging excludes the open VFS function + on failures:</para> <programlisting> <smbconfsection name="[records]"/> @@ -240,7 +243,7 @@ <smbconfoption name="vfs objects">full_audit</smbconfoption> <smbconfoption name="full_audit:prefix">%u|%I</smbconfoption> <smbconfoption name="full_audit:success">open opendir</smbconfoption> - <smbconfoption name="full_audit:failure">all</smbconfoption> + <smbconfoption name="full_audit:failure">all !open</smbconfoption> <smbconfoption name="full_audit:facility">LOCAL7</smbconfoption> <smbconfoption name="full_audit:priority">ALERT</smbconfoption> </programlisting> |