[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldif2 an enforced schema
Has anyone written an app that will import an LDIF in to a directory, but can
massage out bits that do not conform to the schema?
I am trying to migrate from NDS, with schema checking turned off, to OpenLDAP,
and a number of entries fail, until I nuke the attribute, like a phone number
that says "see mobile #" or the like.
I was thinking I could write a script that, if the initial creating a DN
fails, would create a DN with mnimal attributes and add the LDIF's attributes
one at a time, reporting which failed, for lack of schema conformity ...
... but I thought I'd ask if anyone had already invented a suitable wheel for
me. :)
Thanks,
-danny