summaryrefslogtreecommitdiff
path: root/docs/Samba-HOWTO-Collection/Bugs.xml
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2004-09-23 06:21:24 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:02 -0500
commit5c463c80010e3fe3c7fd393bd47f807707045ef2 (patch)
treeb1773092cfd7026955bd5760372ba01f963cc2c6 /docs/Samba-HOWTO-Collection/Bugs.xml
parenta3835d80318b9e68a9d541bddce591ed213b2900 (diff)
downloadsamba-5c463c80010e3fe3c7fd393bd47f807707045ef2.tar.gz
samba-5c463c80010e3fe3c7fd393bd47f807707045ef2.tar.bz2
samba-5c463c80010e3fe3c7fd393bd47f807707045ef2.zip
Add more debugging information, both generic and for the VFS extd_audit module.
(This used to be commit c1763e368c1152b8117d1934147a508b3b089316)
Diffstat (limited to 'docs/Samba-HOWTO-Collection/Bugs.xml')
-rw-r--r--docs/Samba-HOWTO-Collection/Bugs.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/Samba-HOWTO-Collection/Bugs.xml b/docs/Samba-HOWTO-Collection/Bugs.xml
index 12f8055599..09b4899276 100644
--- a/docs/Samba-HOWTO-Collection/Bugs.xml
+++ b/docs/Samba-HOWTO-Collection/Bugs.xml
@@ -121,6 +121,52 @@ all bugs can be tracked at a setting of <constant>10</constant>, but be
prepared for a large volume of log data.
</para>
+ <sect2>
+ <title>Debugging Specific Operations</title>
+
+ <para>
+ Samba-3.x permits debugging (logging) of specific functional components without unnecessarily
+ cluttering the log files with detailed logs for all operations. An example configuration to
+ achive this is shown in:
+ </para>
+
+<para>
+<smbconfblock>
+<smbconfoption><name>log level</name><value>0 tdb:3 passdb:5 auth:4 vfs:2</value></smbconfoption>
+<smbconfoption><name>max log size</name><value>0</value></smbconfoption>
+<smbconfoption><name>log file</name><value>/var/log/samba/%U.%m.log</value></smbconfoption>
+</smbconfblock>
+</para>
+
+ <para>
+ This will cause the level of detail to be expanded to the debug class (log level) passed to
+ each funtional area per the value shown above. The first value passed to the <parameter>log level</parameter>
+ of <constant>0</constant> means turn off all unnecessary debugging except the debug classes set for
+ the functional areas as specified. The table shown in <link linkend="dbgclass">Debugable Functions</link>
+ may be used to affect very precise analysis of each SMB operation Samba is conducting.
+ </para>
+
+ <table frame="all" id="dbgclass">
+ <title>Debuggable Functions</title>
+ <tgroup cols="2" align="center">
+ <thead>
+ <row><entry>Function Name</entry><entry>Function Name</entry></row>
+ </thead>
+ <tbody>
+ <row><entry>all</entry><entry>passdb</entry></row>
+ <row><entry>tdb</entry><entry>sam</entry></row>
+ <row><entry>printdrivers</entry>auth<entry></entry></row>
+ <row><entry>lanman</entry><entry>winbind</entry></row>
+ <row><entry>smb</entry><entry>vfs</entry></row>
+ <row><entry>rpc_parse</entry><entry>idmap</entry></row>
+ <row><entry>rpc_srv</entry><entry>quota</entry></row>
+ <row><entry>rpc_cli</entry><entry>acls</entry></row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ </sect2>
+
</sect1>
<sect1>