Error EncounteredCannot connect to Internet Directory Service (LDAP) server: ldap.bar.com. Check your network connection or modify your Address Book settings
LDAP server ldap.bar.com is a Canonical name interface to server1.bar.com, which server1.bar.com serves the LDAP SSL service with server name "ldap.bar.com" in the SSL cert.
In Outlook Account setup, the server name is inputted as "ldap.bar.com", with proper authentication.
Cannot establish SSL connection to the server
Already diagnosed with Ldp, with following result.
ld = ldap_sslinit("ldap.bar.com", 636, 1);
Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);
Error 81 = ldap_connect(hLdap, NULL);
Server error: <empty>
Error <0x51>: Fail to connect to ldap.bar.com.
Windows System Logs - Source: SChannel
The certificate received from the remote server does not contain the expected name. It is therefore not possible to determine whether we are connecting to the correct server. The server name we were expecting is server1.bar.com. The SSL connection request has failed. The attached data contains the server certificate.