apple / ccs-twistedextensions

Extensions to Twisted used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
17 stars 29 forks source link

Log non-UTF-8 bytes being returned from LDAP server #13

Closed m0rgen closed 7 years ago

m0rgen commented 7 years ago

Adds some logging to debug bad LDAP data

cyrusdaboo commented 7 years ago

Shouldn't that be an log.error rather than a log.warn? I think we need to alert the admin that something is wrong with the LDAP data.

Also, should we even continue parsing the record when this error occurs? Or should we simply ignore the LDAP result entirely?