[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: funny error



Fischer, Johannes wrote:
> I had some bad written code (from my self ☺) where I’ve tried to set a description (2.5.4.13) attribute with an empty string (“”).
> The result was a error massage:
> description: value #0 invalid per syntax

Works as designed:
The LDAP syntax Directory String does not allow a null/empty string.

Only LDAP syntax IA5String allows null string (but does not allow anything
else than ASCII).

I consider relying on null strings to be a design flaw.

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature