Fixed fdr to work with new ldap code.