процедуры обработки опций LDAP (LDAP option handling routines)
Примечание (Note)
The LDAP libraries with the LDAP_OPT_REFERRALS
option set to
LDAP_OPT_ON
(default value) automatically follow referrals using
an anonymous bind. Application developers are encouraged to
either implement consistent referral chasing features, or
explicitly disable referral chasing by setting that option to
LDAP_OPT_OFF
.
The protocol version used by the library defaults to LDAPv2 (now
historic), which corresponds to the LDAP_VERSION2
macro.
Application developers are encouraged to explicitly set
LDAP_OPT_PROTOCOL_VERSION
to LDAPv3, using the LDAP_VERSION3
macro, or to allow users to select the protocol version.