summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/filename
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smbdotconf/filename')
-rw-r--r--docs/smbdotconf/filename/vetofiles.xml20
-rw-r--r--docs/smbdotconf/filename/vetooplockfiles.xml8
2 files changed, 19 insertions, 9 deletions
diff --git a/docs/smbdotconf/filename/vetofiles.xml b/docs/smbdotconf/filename/vetofiles.xml
index 9115da6f7c..637e82449f 100644
--- a/docs/smbdotconf/filename/vetofiles.xml
+++ b/docs/smbdotconf/filename/vetofiles.xml
@@ -27,14 +27,11 @@
<para>Setting this parameter will affect the performance
of Samba, as it will be forced to check all files and directories
for a match as they are scanned.</para>
-</description>
-<related>hide files</related>
-<related>case sensitive</related>
-<value type="default"><comment>No files or directories are vetoed.</comment></value>
-
-<value type="example">
-; Veto any files containing the word Security,
+ <para>
+ Examples of use include:
+<screen>
+; Veto any files containing the word Security,
; any ending in .tmp, and any directory containing the
; word root.
veto files = /*Security*/*.tmp/*root*/
@@ -42,5 +39,12 @@ veto files = /*Security*/*.tmp/*root*/
; Veto the Apple specific files that a NetAtalk server
; creates.
veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
-</value>
+</screen>
+ </para>
+
+</description>
+<related>hide files</related>
+<related>case sensitive</related>
+
+<value type="default">No files or directories are vetoed.</value>
</samba:parameter>
diff --git a/docs/smbdotconf/filename/vetooplockfiles.xml b/docs/smbdotconf/filename/vetooplockfiles.xml
index a8b2797796..b5ef0df5a6 100644
--- a/docs/smbdotconf/filename/vetooplockfiles.xml
+++ b/docs/smbdotconf/filename/vetooplockfiles.xml
@@ -19,7 +19,13 @@
To cause Samba not to grant oplocks on these files you would use
the line (either in the [global] section or in the section for
the particular NetBench share :</para>
+
+ <para>
+ An example of use is:
+<screen>
+veto oplock files = /.*SEM/
+</screen>
+ </para>
</description>
<value type="default"><comment>No files are vetoed for oplock grants</comment></value>
-<value type="example">/.*SEM/</value>
</samba:parameter>