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

Re: Empty values in an attribute



> 	I'm generating ldif files from a database and have
> 	attributes that have no value (i.e. telephonenumber and
> 	e-mail addresses). When trying to load the file via
> 	slapadd it will bomb on entries with 'empty" attributes.
> 
> 	What is the recommended course of action?

Remove the entries from the LDIF,  something like "grep -v :$".

LDAP (Thanfully!!!) doesn't have a concept like NULL.

But an "ignore entry attributes" option on ldapadd and ldapmodify might be a
nice feature,  for importing, etc....