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

How to distinguish between version 1.x and 2.x ? struct ldap


What is the way to distinguish between the two openldap versions
(1.x and 2.x) so that a source code using openldap can configure 
automatically according to the openldap version ?

The question is asked for the use of the two accessors
ldap_get_option() and ldap_set_option(), but there are certainly
another differencies between the two versions. How about them ?

More generally, how to distiguish openldap LDAP implementation
(1.x and 2.x) from another ones (SUN's or Netscape's) ?

Thank you in advance,