[Date Prev][Date Next] [Chronological] [Thread] [Top]

LDAP_VERSION3



ldapsearch has an option "-P" for selecting protocol version 2 or 3. The
version is set using ldap_set_option. However, it turns out that it always
performs a version 2 bind. This is because ldap.h has LDAP_VERSION_MAX
defined to LDAP_VERSION2, so ldap_set_option ignores any request to select
version 3. I presume that LDAP_VERSION_MAX is set this way because we don't
have a full implementation of the v3 api yet. Either that, and the -P option
ought to be removed from ldapsearch temporarily, or ldap.h needs a tweak.
  ?