Re: [exim-dev] LDAP multiline attribute oddity

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-dev
Subject: Re: [exim-dev] LDAP multiline attribute oddity
On 19/01/16 12:05, Heiko Schlittermann wrote:
> Jeremy Harris <jgh@???> (Di 19 Jan 2016 12:21:28 CET):
> (…)
>>> Just for my understanding…
>>> the, value of the attribute starts with a '\0' byte?
>>
>> If it does - or, indeed, has embedded NULs - Exim just
>> isn't going to deal kindly with it/them. Exim strings
>> are C-style nul-terminated. Everywhere. About the
>> only places that are special are mail message bodies
>> and TLS certificates.
>
> Yes, and how does it help if we retrieve the values as BER encoded?


Only in that it shows that is problem bites within the
older-interface routine.

> If
> they contain \0 after transforming to char[], then we can't use them
> anyway, can we?


Correct. That LDAP use just isn't
supported by Exim.
--
Jeremy