I used ldap_set_option(connection, LDAP_OPT_REFERRALS, LDAP_OPT_ON) before doing the actual ldap_search_ext_s(). With 2.0.25 it core dumps. So I turned to 2.1.17, which does not core dump but does not seem to chase the referral either. So my question is, is this LDAP_OPT_REFERRALS for ldap_search_ext_s() a bug, or not supported at all? Chere