fail if ldap fails