Actually, the error returned in LDAP_TIMEOUT.
The timeout in the call is set to 2 minutes.
"Himanshu Soni" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> We have written an NSAPI plugin to work with NES 4.0 which uses our C
> toolkit. This C toolkit needs to make some ldap calls (ldap_search_st in
> particular). The C toolkit explicitly loads libldapssl41.so on solaris 2.6
> and attempts to make a call to ldap_search_st(...). This call fails for
the
> NSAPI plugin with return code LDAP_CONNECT_ERROR.
>
> When we use the same toolkit outside the NSAPI plugin (for example in a
> stand alone app), the ldap_search_st call succeeds.
>
> Following is the call:
> /* perform the search */
> (ldapError = (*g_LDAP_f.fp_ldap_search_st)(ld, lUrl->lud_dn,
> lUrl->lud_scope,
> lUrl->lud_filter, lUrl->lud_attrs, 0, &timeOut, &ldapResult);
>
>
> Any help making this work with HSAPI is appreciated.
>
> Thanx
>
> Himanshu Soni
>