Public bug reported:

Binary package hint: ldap-utils

When trying to debug some ldif syntax information with ldapadd, I found that -d 
debuglevel is defined in the man page, but the debuglevels are not defined.  I 
found the following page:
http://www.linuxselfhelp.com/HOWTO/LDAP-HOWTO-4.html

Which defines the debuglevels which are available for ldap-utils
utilities, (ldapadd, ldapmodify, etc.).

Could we get this information added to the man pages for these utils?  I
can do it myself if someone can verify that the following information is
correct for our version of ldap-utils:

 ii  ldap-utils     2.2.26-5ubuntu

-d <level> | ?

    This option sets the slapd debug level to <level>. When level is a `?' 
    character, the various debugging levels are printed and slapd exits, 
regardless
     of any other options you give it. Current debugging levels are:

    -1  enable all debugging  
    0  no debugging  
    1  trace function calls  
    2  debug packet handling  
    4  heavy trace debugging  
    8  connection management  
    16  print out packets sent and received  
    32  search filter processing  
    64  configuration file processing  
    128  access control list processing  
    256  stats log connections/operations/results  
    512  stats log entries sent  
    1024  print communication with shell backends  
    2048  print entry parsing debugging  

    You may enable multiple levels by specifying the debug option once for each 
    desired level. Or, since debugging levels are additive, you can do the math 
    yourself. That is, if you want to trace function calls and watch the config 
    file being processed, you could set level to the sum of those two levels 
(in 
    this case, -d 65). Or, you can let slapd do the math, (e.g. -d 1 -d 64). 
    Consult <ldap.h> for more details.

    Note: slapd must have been compiled with -DLDAP_DEBUG defined for any 
debugging
     information beyond the two stats levels to be available. 


BTW, ldap-utils on ubuntu _is_ compiled with LDAP_DEBUG.

thanks,
speeves

** Affects: openldap2.3 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
debuglevels are not defined in ldap-utils man pages
https://launchpad.net/bugs/74754

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to