#9621 ipa-migrate should not update mapped attributes in managed entries
Closed: fixed 6 months ago by frenaud. Opened 6 months ago 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.

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

6 months ago

master:

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

ipa-4-12:

  • 85a853b 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)

6 months ago

master:

  • cf3a46c ipatests: remove xfail for test_ipa_migrate_stage_mode

ipa-4-12:

  • de94080 ipatests: remove xfail for test_ipa_migrate_version_option
  • 6eb6a92 ipatests: remove xfail for test_ipa_migrate_stage_mode

Log in to comment on this ticket.

Metadata