[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4601)



When libldap is first initialized (e.g. the first time an API function is
called), a call to the DNS occurs to determine the hostname.  Your DNS
seems to be pretty misconfigured.

p.

> Some more info:
>
> I tried getting debug output from openldap lib by adding the following
> lines in courier authlib directly before the ldap_initialize is called:
>
> int debug = 7;
> ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &debug);
>
> as suggested by someone in a similar problem in PHP:
>
> http://bugs.php.net/bug.php?id=14355
>
> However now the 20 second delay occurs when ldap_set_option is called
> and the ldap_initialize continues immediately! It seems that whatever
> function is called first in the ldap library causes a 20 second delay?!?
>
> Does someone have a clue what could possibly cause this?
>
> Laurens
>




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------