简体   繁体   English

如何确定tls / ssl安全协议连接到LDAP(PHP)的版本?

[英]How to determine what version tls/ssl security protocol is connecting to LDAP (PHP)?

I am using the openLDAP library. 我正在使用openLDAP库。 How do I determine what security protocol type and version my server is using to connect to the AD server? 如何确定服务器用于连接到AD服务器的安全协议类型和版本?

ldap_connect("ldaps://server:636");

I understand for websites, I can easily see the type and version by looking at the properties from the browsers.. 我了解网站,可以通过浏览器中的属性轻松查看类型和版本。

如另一个问题所建议,请查看ldap_set_option ,它带有许多选项,并且可以使用以下命令启用调试功能:

ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM