I'm using OpenLDAP 2.0.27 compiled with --with-tls option. In my client application I call successfully ldap_sslinit("localhost", LDAP_SSL_PORT, 1). After this call I call ldap_simple_bind_s() which fails with the following error LDAP_SERVER_DOWN (errno 81). How can i resolve the problem? Do I need to call some other modules like openssl.exe ? Who can help me to run openLDAP over SSL ?