rescue LdapError