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

does LDAP_OPT_X_TLS work?

Could be my fault, but if I set LDAP_OPT_X_TLS to LDAP_OPT_X_TLS_HARD, a
simple test client made of

ldap_set_option // as appropriate for sane LDAPv3
ldap_set_option LDAP_OPT_X_TLS = LDAP_OPT_X_TLS_HARD,

the subsequent ldap_simple_bind_s fails; the failure is somewhere in
ldap_send_initial_request(), i.e. where the hard setting ot the TLS option
causes ldap_int_tls_start() to be invoked.  Since none of the OpenLDAP
clients use that option, I was wondering if it has ever been tested.


Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497