From 8cbbd80f11d85fb733fb1522cd19eb686b6d3fe8 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 28 Jan 2013 22:30:41 -0500 Subject: Add LDAP debug DB option Add a DB option in the LDAP KDB module to turn on debugging messages. Adapted from a patch by Zoran Pericic . ticket: 7551 (new) --- doc/admin/admin_commands/kadmin_local.rst | 5 +++++ doc/admin/admin_commands/kadmind.rst | 6 ++++++ doc/admin/admin_commands/krb5kdc.rst | 6 ++++++ 3 files changed, 17 insertions(+) (limited to 'doc/admin') diff --git a/doc/admin/admin_commands/kadmin_local.rst b/doc/admin/admin_commands/kadmin_local.rst index 6fee6166f..0fb772392 100644 --- a/doc/admin/admin_commands/kadmin_local.rst +++ b/doc/admin/admin_commands/kadmin_local.rst @@ -158,6 +158,11 @@ OPTIONS password using the **stashsrvpw** command of :ref:`kdb5_ldap_util(8)`. + **-x debug=**\ *level* + sets the OpenLDAP client library debug level. *level* is an + integer to be interpreted by the library. Debugging messages + are printed to standard error. + .. _kadmin_options_end: diff --git a/doc/admin/admin_commands/kadmind.rst b/doc/admin/admin_commands/kadmind.rst index 10fc672cb..dd496fec0 100644 --- a/doc/admin/admin_commands/kadmind.rst +++ b/doc/admin/admin_commands/kadmind.rst @@ -123,6 +123,12 @@ OPTIONS stash the password using the **stashsrvpw** command of :ref:`kdb5_ldap_util(8)`. + **-x debug=**\ *level* + sets the OpenLDAP client library debug level. *level* is + an integer to be interpreted by the library. Debugging + messages are printed to standard error, so this option + must be used with the **-nofork** option to be useful. + SEE ALSO -------- diff --git a/doc/admin/admin_commands/krb5kdc.rst b/doc/admin/admin_commands/krb5kdc.rst index f5b37bca3..7aebf6e06 100644 --- a/doc/admin/admin_commands/krb5kdc.rst +++ b/doc/admin/admin_commands/krb5kdc.rst @@ -102,6 +102,12 @@ Options supported for the LDAP database module are: password using the **stashsrvpw** command of :ref:`kdb5_ldap_util(8)`. + **-x debug=**\ *level* + sets the OpenLDAP client library debug level. *level* is an + integer to be interpreted by the library. Debugging messages + are printed to standard error, so this option must be used + with the **-n** option to be useful. + The **-T** *offset* option specifies a time offset, in seconds, which the KDC will operate under. It is intended only for testing purposes. -- cgit