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.