#9621 ipa-migrate should not update mapped attributes in managed entries
Closed: fixed by frenaud. Opened by mreynolds.

Issue

ipa-migrate fails when trying to update mapped attributes in managed entries

Steps to reproduce

  1. Install IPA local server on local.ipa1.test
  2. Install IPA remote server on remote.ipa1.test
  3. Add a user on remote server.
  4. Run ipa-migrate stage mode
  5. ipa-migrate stage mode fails as seen below
# ipa-migrate stage-mode remote.ipa1.test -D "cn=Directory manager" -w password -n
Initializing ...
Connecting to local server ...
IPA to IPA migration starting ...
Migrating schema ...
Migrating configuration ...
Migrating database ... (this make take a while)
Failed to update "cn=user1,cn=groups,cn=accounts,dc=ipa1,dc=test" error: Server is unwilling to perform: Modifying a mapped attribute  in a managed entry is not allowed. The "gidNumber" attribute is mapped for this entry.

https://github.com/freeipa/freeipa/pull/7428

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7428
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-45463

master:

  • 8d2bf9068ca8f81debdca8cb710602055e1f630c Issue 9621 - ipa-migrate - should not update mapped attributes in managed entries

ipa-4-12:

  • 85a853ba93c1d23d5bad13a1ae2bee802dc90131 Issue 9621 - ipa-migrate - should not update mapped attributes in managed entries

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-45463, https://issues.redhat.com/browse/RHEL-49432 (was: https://issues.redhat.com/browse/RHEL-45463)

master:

  • cf3a46cc00b237d3845481ee1a4737a92aa94636 ipatests: remove xfail for test_ipa_migrate_stage_mode

ipa-4-12:

  • de940802bb6631fbbc97afd11869d87cba18f47f ipatests: remove xfail for test_ipa_migrate_version_option
  • 6eb6a929308c2916df9aed2da9ee6ef9d98e2438 ipatests: remove xfail for test_ipa_migrate_stage_mode
Metadata