'This method searches for LDAP errors in html\'s.
:param response: The HTTP response object
:return: A list of errors found on the page'

def _find_ldap_error(self, response):

    res = []
    for match_string in self._multi_in.query(response.body):
        msg = 'Found    LDAP    error    string.    The    error    returned    by    the    web'
        msg += '    application    is    (only    a    fragment    is    shown):    "'
        msg += (match_string + '".    The    error    was    found    on    ')
        msg += (('response    with    id    ' + str(response.id)) + '.')
        om.out.information(msg)
        res.append(match_string)
    return res
