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

Re: load data rules...it's not obvious.



On Tue, 16 Nov 1999, Greg Coleman wrote:

> Point of clarification:
> LDIF files that have no value for the associated key cannot be loaded.
> e.g.
> cn: Joe Public
> drink: 
> sn: Joe
> 
> ...where the drink attribute will fail every time?  

It depends on the implementation...

> I swear i've been looking through all the documentation and this subtle
> aspect of loading (via ldapadd/ldapmodify) isn't spelled out :-)

The current LDIF draft indicates that loading of zero-length attributes is
allowable (see note 5 in the formal syntax definition);  as I recall, OpenLDAP
1.x implements the original UMich LDIF (no idea if a formal definition of this
exists).

Cheers..


dave