[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Migration from Netscape LDAP to Openldap
Daniel Cheah wrote:
> Hello Michael,
>
> Wednesday, June 27, 2001, 5:23:49 PM, you wrote:
>
> MS> Daniel Cheah wrote:
> >>
> >> 1.) My problem is that Netscape LDAP allows empty value for attibutes, BUT
> >> OPENLDAP do not allow this. How do I overcome this?
>
> MS> Why do you want this?
>
> MS> Ciao, Michael.
>
> This is because this openldap is for a Portal. So some of the
> information is not a MUST. So the attribute is there but without any
> value in it. Netscape export to a ldif file also exported the
> attribute without value. But when I import it to Openldap, it will
> failed. (unless I manually insert a dummy value to all the records,
> 200,000 records????) I don't think that is a good idea to edit those
> 200,000 records.
If the attribute is not REQUIRED by any of the objectclasses
you're using, you should simply strip it out of any entry when
it is null; depending on how it shows up in your ldif file, you can
process it easily with, e.g., awk, or a perl script or so.
I guess you're going to do this migration all at once and one-shot,
right?
Pierangelo.
--
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati