Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1150040
Description of problem: I tried to migrate a openldap based directory to FreeIPA, while removing several objectclasses. --user-ignore-attribute didn't work. The Problem seems to be, that the LDAPEntry Object entry_attry in migration.py isn't lowercased while the blacklist is force to lower case by the script. the problem can be resolved by replacing if attr in attr_blacklist: with: if attr.lower() in attr_blacklist: Version-Release number of selected component (if applicable): 4.0.3 on Fedora 20 How reproducible: use migrate-ds with --user-ignore-attribute Steps to Reproduce: 1. 2. 3. Actual results: error: Failed user: xxx: attribute "shadowLastChange" not allowed xxx: attribute "shadowLastChange" not allowed Expected results: user is migrated Additional info:
We want to make migration as smooth as possible, we even know where the problem is here.
FreeIPA 4.1.1 was released.
attachment freeipa-dkupka-0030-Fix-user-group-ignore-attribute-in-migration-plugin.patch
master:
ipa-4-1:
Metadata Update from @mkosek: - Issue assigned to dkupka - Issue set to the milestone: FreeIPA 4.1.2
Login to comment on this ticket.