catch ldap errors
add ldap authentication error translation