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

Confirmation: connection state after LDAP_SERVER_DOWN



Hi all,

I just need to confirm openldap's behaviour.

If a request (to init, bind or search) returns LDAP_SERVER_DOWN, what state is the ldap handle in after this error has occurred?

Can the same operation be retried (with the init and bind happening again automatically if the original server or backup server became available again) as it is, or must the ldap handle be thrown away and a new attempt made to init and bind to the server?

If the ldap handle must be thrown away, what is the correct procedure for doing this? ldap_unbind_s()?

Regards,
Graham
--