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

zero-length string



Hi all, 

I would like to store zero-length attribute value in the directory
(OpenLDAP 2.0.3 on Solaris 2.6.)
 
test.ldif:
>dn: ou=test.org , o=myorg.org
>objectclass: organizationalunit
>objectclass: top
>ou: test.org
>seeAlso:         <- zero length 
>description: descr.

I used the ldapadd utility and I got the following error message:

>adding new entry "ou=test.org , o=myorg.org"
>ldap_add: Protocol error
>        additional info: no values for attribute type
>
> ldif_record() = 2

What's wrong ? I didn't find any restriction for the minimum 
length of a string/dn value. 

Thanks, 

Peter Nagy