Document new smb.conf options "ldap debug level" and "ldap debug threshold".
authorMichael Adam <obnox@samba.org>
Wed, 6 Feb 2008 22:56:08 +0000 (22:56 +0000)
committerGerald W. Carter <jerry@samba.org>
Wed, 23 Apr 2008 14:02:08 +0000 (09:02 -0500)
Michael

docs/smbdotconf/logging/ldapdebuglevel.xml [new file with mode: 0644]
docs/smbdotconf/logging/ldapdebugthreshold.xml [new file with mode: 0644]

diff --git a/docs/smbdotconf/logging/ldapdebuglevel.xml b/docs/smbdotconf/logging/ldapdebuglevel.xml
new file mode 100644 (file)
index 0000000..5f167ef
--- /dev/null
@@ -0,0 +1,28 @@
+<samba:parameter name="ldap debug level"
+                type="integer"
+               context="G"
+               developer="1" advanced="1"
+               xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+       <para>
+               This parameter controls the debug level of the LDAP library
+               calls. In the case of OpenLDAP, it is the same
+               bit-field as understood by the server and documented in the
+               <citerefentry>
+                       <refentrytitle>slapd.conf</refentrytitle>
+                       <manvolnum>5</manvolnum>
+               </citerefentry>
+               manpage.
+               A typical useful value will be
+               <emphasis>1</emphasis> for tracing function calls.
+       </para>
+       <para>
+               The debug ouput from the LDAP libraries appears with a
+               prefix [LDAP] in samba's logging output.
+               The level at which LDAP logging is printed is controlled by the
+               parameter <parameter>ldap debug threshold</parameter>.
+       </para>
+</description>
+<value type="default">0</value>
+<value type="example">1</value>
+</samba:parameter>
diff --git a/docs/smbdotconf/logging/ldapdebugthreshold.xml b/docs/smbdotconf/logging/ldapdebugthreshold.xml
new file mode 100644 (file)
index 0000000..a8b2083
--- /dev/null
@@ -0,0 +1,16 @@
+<samba:parameter name="ldap debug threshold"
+               type="integer"
+               context="G"
+               developer="1" advanced="1"
+               xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+       <para>
+               This parameter controls the samba debug level at which
+               the ldap library debug output is
+               printed in the samba logs. See the description of
+               <parameter>ldap debug level</parameter> for details.
+       </para>
+</description>
+<value type="default">10</value>
+<value type="example">5</value>
+</samba:parameter>