Patch: manpage fix and addition for smb_traffic_analyzer
Holger Hetterich
hhetter at novell.com
Tue Oct 14 09:17:14 GMT 2008
Hi,
this patch fixes the build of the smb_traffic_manpage, there is a missing tag error.
Also, fixes a typo and adds an example on how to use the newly introduced
anonymization of usernames feature.
This is for the 'master' branch of git://git.samba.org/samba.git
Holger
-------------- next part --------------
>From 1b036aebb4fd405fb50a134267f24a4ce75f48cd Mon Sep 17 00:00:00 2001
From: Holger Hetterich <hhetter at novell.com>
Date: Tue, 14 Oct 2008 10:45:09 +0200
Subject: [PATCH] Fix the "Premature end of data in tag" error when buiding the manpage,
fix a typo in the text, add an example for anonymization usage.
---
docs-xml/manpages-3/vfs_smb_traffic_analyzer.8.xml | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/docs-xml/manpages-3/vfs_smb_traffic_analyzer.8.xml b/docs-xml/manpages-3/vfs_smb_traffic_analyzer.8.xml
index b51f6e8..174183e 100644
--- a/docs-xml/manpages-3/vfs_smb_traffic_analyzer.8.xml
+++ b/docs-xml/manpages-3/vfs_smb_traffic_analyzer.8.xml
@@ -105,14 +105,15 @@
<para>The module will send the data using the TCP port given
in STRING.
</para>
-
+ </listitem>
+ </varlistentry>
<varlistentry>
<term>smb_traffic_analyzer:anonymize_prefix = STRING</term>
<listitem>
<para>The module will replace the user names with a prefix
given by STRING and a simple hash number.
</para>
-
+
</listitem>
</varlistentry>
@@ -131,16 +132,27 @@
<smbconfoption name="smb_traffic_analyzer:mode">unix_domain_socket</smbconfoption>
</programlisting>
- <para>The module running on share "example_share", using an internet domain socket,
+ <para>The module running on share "example_share", using an internet socket,
connecting to host "examplehost" on port 3491.</para>
<programlisting>
<smbconfsection name="[example_share]"/>
<smbconfoption name="path">/data/example</smbconfoption>
<smbconfoption name="vfs objects">smb_traffic_analyzer</smbconfoption>
<smbconfoption name="smb_traffic_analyzer:host">examplehost</smbconfoption>
- <smbconfoption name="smb_traffic_analyzer:port">3490</smbconfoption>
+ <smbconfoption name="smb_traffic_analyzer:port">3491</smbconfoption>
</programlisting>
+ <para>The module running on share "example_share", using an internet socket,
+ connecting to host "examplehost" on port 3491, anonymizing user names with
+ the prefix "User".</para>
+ <programlisting>
+ <smbconfsection name="[example_share]"/>
+ <smbconfoption name="path">/data/example</smbconfoption>
+ <smbconfoption name="vfs objects">smb_traffic_analyzer</smbconfoption>
+ <smbconfoption name="smb_traffic_analyzer:host">examplehost</smbconfoption>
+ <smbconfoption name="smb_traffic_analyzer:port">3491</smbconfoption>
+ <smbconfoption name="smb_traffic_analyzer:anonymize_prefix">User</smbconfoption>
+ </programlisting>
</refsect1>
<refsect1>
--
1.5.6
More information about the samba-technical
mailing list