#51237 WIP - openldap migration support tooling
Closed by spichugi. Opened by firstyear.
firstyear/389-ds-base 50544-openldap-migration  into  master

Download 51237.patch

This is a rough, unfinished, un-squash commit series for openldap to 389ds migration.

At this point it consists of a library that understands how to read openldap's ldif based configuration, it can then generate a migration plan for review, and apply it. This already has some tests and sample data for testing.

In the future a cli tool, openldap2ds will be added that will interact with the migration library, able to generate the plan, present it for review to an administrator and then allow it's application.

There is still a lot to go, but I figure I should stop hiding it on my laptop and share it. @tbordaz may be curious to see it because this is the way I have been finding all the recent schema quirks.

rebased onto 3bcf21fc2a95bf9ea4dd1efb1df3a3dcb14c3d42

Hey @spichugi and @mreynolds this isn't complete yet, but I'd appreciate some early review about the approach. It's now at a point where I can do a full import of schema and the DB, and it all works. Still some work to do to display config of non-migrateable overlays (aka plugins), and I need to write a CLI tool for it. But I think all the logic and parts are there. So I'll probably start on the CLI next and some more tests.

Thanks!

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/4290

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Pull-Request has been reopened by spichugi

Pull-Request has been closed by spichugi

Metadata