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

Re: SSL-Problem

Gemeiner, Jan wrote:

I've compiled 2.1.30 with ssl support.
There were no errors during the compilation, but when I want to include the
ldap-libraries into another program,
I get this messages:

checking for ldap_controls_free... yes
checking for ldap_set_option... yes
checking for ldap_get_option... yes
checking for ldapssl_init... no
checking for ldap_start_tls_s... yes
checking for ldap_pvt_tls_set_option... yes
checking for ldap_initialize... yes

Seems for me like SSL is turned off and TLS is turned on.

No. The "ldapssl_init" function is used by non-OpenLDAP LDAP libraries to open an ldaps session. This function is unnecessary. In OpenLDAP you can use ldap_init or ldap_initialize to create an ldaps session, there is no need for any special ldapssl_* functions.

Does anyone have an idea, is there a possiblity to set an option to get
these settings,
or must there be an error during the compilation of openldap?

If the situation you saw was an error, the configure script should have stopped immediately. Since the package you're working with is not OpenLDAP software, this is as much as I'll say on this mailing list.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support