[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: funny error
- To: "Fischer, Johannes" <johannes.fischer@ipa.fraunhofer.de>, openldap <openldap-technical@openldap.org>
- Subject: Re: funny error
- From: Michael Ströder <michael@stroeder.com>
- Date: Tue, 22 Sep 2015 10:04:14 +0200
- In-reply-to: <EA7399765D4E5A44848CEFE00AE00BAC92F746@IPA-EX-MBX2.ipa.stuttgart>
- References: <EA7399765D4E5A44848CEFE00AE00BAC92F746@IPA-EX-MBX2.ipa.stuttgart>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 SeaMonkey/2.35
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
- References:
- funny error
- From: "Fischer, Johannes" <johannes.fischer@ipa.fraunhofer.de>