[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#7290) ldap_int_initialize() routine doesn't setup debug-level when calling ldap_int_initialize_global_options() routine
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#7290) ldap_int_initialize() routine doesn't setup debug-level when calling ldap_int_initialize_global_options() routine
- From: sheng-yu.chen@hp.com
- Date: Wed, 6 Jun 2012 08:49:59 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Sheng-Yu.Chen
Version: all
OS: Windows7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (15.195.201.86)
1. Initialize the OpenLDAP debug-level by call ldap_set_option(NULL,
LBER_OPT_DEBUG_LEVEL, 127).
Note, ldap_set_option() is the first call to OpenLDAP libraries which would
trigger the ldap_int_initialize()
2. In ldap_int_initialize(), OpenLDAP will call
ldap_int_initialize_global_options(gopts, NULL), which means it would ignore the
debug-level value
3. So the result is all the debug information happened in
ldap_int_initialize_global_options() WILL be ignored.