Torgeir Veimo wrote:
On 2 May 2008, at 16:51, Stefan Seelmann wrote:
One more comment: the attribute mail uses syntax
1.3.6.1.4.1.1466.115.121.1.26 (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 æøå.
http://www.zytrax.com/books/ldap/apa/types.html#strings
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
www.iktek.com
directory.apache.org