When LDAP search is run, to verify a logging in user, and the server returns logs a warning like "Error performing an LDAP search", the search should also be logged, so the reason for the errors can be investigated properly. Not know why LDAP return an error, is not helpful.