Handle ldap runtime error message and display generic message in ui.