[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: empty strings
I am working on MS LDAP v 3. I have faced the same problem. Whenever you
assign NULL as the value, with LDAP_MOD_ADD - it returns some error. If you
try LDAP_MOD_REPLACE with NULL value, for an attribute which is already
present with some other values - it is successful - but the attribute is
removed from the object - so a second call doing the same LDAP_MOD_REPLACE
fails with LDAP_NO_SUCH_ATTRIBUTE.
I am trying to work around this problem, but there seems to be no standard
way to store a empty string in LDAP.
-Sanju
-----Original Message-----
From: Joeri van Ruth [mailto:Joeri.van.Ruth@dds-projects.nl]
Sent: Tuesday, November 21, 2000 3:36 AM
To: openldap-general@OpenLDAP.org
Subject: empty strings
It seems that LDAP does not allow empty strings as
attribute values. Why is this? Isn't the empty string
a perfectly fine string?
Joeri