No-referral fix for LDAP