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

connect to Netscape Directory Server via SSL



Hi,

I am trying to make my client (implemented in OpenLDAP 2.x) to talk to an
Netscape Directory Server 4.1.1 in SSL (not StartTLS).
Is there any sample code or faq describing which OpenLDAP APIs that I should
use.

I know I need to set the following options using ldap_set_option
LDAP_OPT_X_TLS
LDAP_OPT_X_TLS_CERTFILE
LDAP_OPT_X_TLS_KEYFILE

Are there other APIs required?  How do we specify the OpenLDAP SDK to talk
to the server in SSL or not?

Thanks
Patrick