简体   繁体   中英

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

I am using the openLDAP library. How do I determine what security protocol type and version my server is using to connect to the AD server?

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);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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