[Date Prev][Date Next]
ldap_tls call failed: Can't contact LDAP server
I want to establish secure ldap connection.
I have tried following:
2. ldap_set_option( pLdapObj, LDAP_OPT_X_TLS_CACERTFILE, "/tmp/certficate.cert"
3. iRetCode = ldap_start_tls_s(pLdapObj, NULL, NULL);
Here 3. ldap_start_tls_s failed with error: "Can't contact LDAP server".
What is wrong here? Are there any more steps to make it work?
Please help me.