Problems when following referrals with ldapsearch