[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

Full_Name: Sheng-Yu.Chen
Version: all
OS: Windows7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

1. Initialize the OpenLDAP debug-level by call ldap_set_option(NULL,
   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.