0

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..

Dip
  • 343
  • 7
  • 22

1 Answers1

0

As suggested by another question, have a look at ldap_set_option which comes with a bunch of options, and can enable the debugging with

ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);
Eugène Adell
  • 3,089
  • 2
  • 18
  • 34