directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: import of empty attributes fails
Date Mon, 05 May 2008 09:19:59 GMT
Torgeir Veimo wrote:
> On 2 May 2008, at 16:51, Stefan Seelmann wrote:
>> One more comment: the attribute mail uses syntax
>> (IA5 String), this syntax allows an empty
>> string. Perhaps you could try to use this syntax?
> Hmm, according to this website, that type doesn't allow accented 
> characters, eg æøå.
> Isn't there a string type that accepts utf-8 but also accepts empty 
> strings? Or is it the compare syntax that defines if an empty string 
> is allowed?
The only way to store empty attributes containing DirectoryString values 
is to use the OctetString syntax.

RFC 4511 specifically says that "Clients MUST only send attribute values 
in a request that are valid  according to the syntax defined for the 
attributes.". So if you have a null value, it's simply an invalid value 
if it is used into an attribute which contains DirectoryString.

Seems that the client you are using is not aware of this limitation ...

cordialement, regards,
Emmanuel Lécharny

View raw message