我已经有好几天能够通过SSL获得AD(LDAPS),我完全遵循了这个指南 。 我安装了Active Directory证书服务(独立的根CA),我可以申请证书,安装证书。
但每当我想使用LDP.exetesting连接
我得到了这个着名的错误
ld = ldap_sslinit("localhost", 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 localhost.
我一直在寻找,我知道有很多东西可能会导致这个错误,我尝试了大部分事情,然后我决定把它发布在这里。 我试图看看系统日志中是否有任何错误,但没有:/(但我可以wwrong)
谁能告诉我还有什么看起来?
更新:我重新启动AD服务以下错误显示在事件查看器中:
LDAP over Secure Sockets Layer (SSL) will be unavailable at this time because the server was unable to obtain a certificate. Additional Data Error value: 8009030e No credentials are available in the security package