Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 173 Actually, I guess nulling out entry->tl_data could be a problem if the LDAP back end has encoded stuff like the DN in there. So maybe that's not a good workaround either.