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

Re: empty attributes?



At 05:39 AM 2/21/2003, Paul Reilly wrote:
>Is this an RFC requirement, or an OpenLDAP requirement?
>It seems odd.

It an data model constraint.  See X.501 for details.  In
short, an attribute consists of one or values each which
conforms to a specific syntax.  Many syntaxes do not allow
zero length values.

In creating an entry, if you have no values for an allowed
(but not mandatory) attribute, don't provide that attribute.
(You must always provide a value for mandatory attributes.)

Kurt