Error during LDAP over SSL Verification


  • Can anyone tell me what this LDAP error message is?  It appears that ADserver1 is configure to support SSL, and it establishes the connection over port 636, but I am not sure why it is throwing out the error messages before making the connection.  Is that really an error or Error =0 means, there is no error and the connection is successful?

    ld = ldap_sslinit("ADserver1", 636, 1);
    Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);
    Error 0 = ldap_connect(hLdap, NULL);
    Error 0 = ldap_get_option(hLdap,LDAP_OPT_SSL,(void*)&lv);
    Host supports SSL, SSL cipher strength = 128 bits
    Established connection to ADserver1.

    Monday, July 08, 2013 7:26 PM


All replies