[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Fwd: How to turn on logging for ldap library
- To: "OpenLDAP Software List" <OpenLDAP-software@OpenLDAP.org>
- Subject: Fwd: How to turn on logging for ldap library
- From: "Jeremiah Martell" <inlovewithgod@gmail.com>
- Date: Wed, 10 May 2006 15:52:03 -0400
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fZfrRBmuYKSulG8QXxw6sbdH2r9pQbokv+kmSjuzCsVAu+47RUds+M0BXpzQjl9QZTRfUDYf9hzd1T2pkwcp7X5sabcDIFSJuEDHAI2XH8p06X7yJlfq6NAntEWwXrwefWcllrcDNwTCJJyIJ5xFFHBdTSkOWZUbCAiFRS8cwQo=
- In-reply-to: <233eb300605101251w27c2fc47y7f84438d58ef31ca@mail.gmail.com>
- References: <233eb300604281214l3ef4d307qb78888c1a0835a81@mail.gmail.com> <445295B3.7010709@symas.com> <233eb300605101251w27c2fc47y7f84438d58ef31ca@mail.gmail.com>
When I turn on debugging with ldap_set_option and lutil_debug_file,
searches now crash with this:
ldap_bind
ldap_simple_bind
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP (null):7
ldap_new_socket: 0
ldap_prepare_socket: 0
***CRASH***
It works fine without debugging though, no crash. Any ideas?
- Jeremiah
On 4/28/06, Howard Chu <hyc@symas.com> wrote:
The application that links to libldap must enable logging with an
ldap_set_option() call. By default it will go to stderr, but you can
set an additional destination using lutil_debug_file().
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/