LDAP_OPT_ON
(void) ldap_set_option(adh->ad, LDAP_OPT_RESTART, LDAP_OPT_ON);
ldap_set_option( ld, LDAP_OPT_REFERRALS, chase_referrals ? LDAP_OPT_ON:
theInt = LDAP_OPT_ON;
ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_ON);
ldap_set_option(ld, LDAP_OPT_RESTART, LDAP_OPT_ON);
LDAP_OPT_ON);
(void) ldap_set_option(adh->ld, LDAP_OPT_RESTART, LDAP_OPT_ON);
defsecure ? LDAP_OPT_ON : LDAP_OPT_OFF ) < 0 ) {
LDAP_OPT_SSL, defsecure ? LDAP_OPT_ON : LDAP_OPT_OFF ) != 0 ) {
(void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_ON);
(void) ldap_set_option(ld, LDAP_OPT_RESTART, LDAP_OPT_ON);