Hi All,

  I have a simple LDAP Client that uses the Mozilla LDAP SDK.
This client simulates how our software communicates with the Directory
Server (OVD / Sun DS).

Here are the steps that I follow:

 1) ldap_init
 2) ldap_set_option - set options -
    a) Version
    b) LDAP_X_OPT_CONNECT_TIMEOUT
    c) LDAP_OPT_REFERRALS to LDAP_OPT_ON
    d) LDAP_OPT_SIZELIMIT
    e) LDAP_OPT_TIMELIMIT
    f) LDAP_OPT_NETWORK_TIMEOUT (Unsuccessful even when the DS is up) (added
later)
    g) PRLDAP_OPT_IO_MAX_TIMEOUT (Unsuccessful even when the DS is up)
(added later)
3) ldap_simple_bind
4) query the Directory Server (DS)

The client works perfectly when the DS is up.
However when the DS is given a STOP signal, the Client gets blocked on the
bind call.

I have tried setting the TCP Timeout to a low value, but even that did not
work.

Is there anything more that I need to do?

Thanks,
Denish
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to