def _process_results(self, results):
results = [r for r in results if r[<NUM_LIT:0>] is not None]<EOL>results = _DeepStringCoder('<STR_LIT:utf-8>').decode(results)<EOL>results = [(r[<NUM_LIT:0>].lower(), r[<NUM_LIT:1>]) for r in results]<EOL>result_dns = [result[<NUM_LIT:0>] for result in results]<EOL>logger.debug(u"<STR_LIT>" %<EOL>(self.base_dn, self.scope, self.filterstr, len(result_dns),<EOL>"<STR_LIT>".join(result_dns)))<EOL>return results<EOL>
Returns a sanitized copy of raw LDAP results. This scrubs out
references, decodes utf8, normalizes DNs, etc.