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

Re: ldap_simple_bind_s() takes too much time!

On Sat, Sep 15, 2001 at 10:58:40AM +0800, Hwang James wrote:
> I'm using the LDAP library from OpenLDAP 2.0.7 and every 
> ldap_simple_binds() call takes exactly 10 seconds, which is too long 
> to accept.Is there anything I can do to eliminate this delay?
> Both the client and the server are running on the SAME RedHat 7.1 PC.
> Any hints would be greatly appreciated. 

First thing I would check is whether DNS works well. Both the client
and the server might try to do lookups. Is it faster if you specify
an IP address ( or something) when connecting? If you do
'telnet host 389', do you see any delay then?