Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-45463

ipa-migrate stage-mode is failing with error: Modifying a mapped attribute in a managed entry is not allowed

    • ipa-4.12.0-6.el9
    • None
    • None
    • 2
    • sst_idm_ipa
    • ssg_idm
    • 22
    • 24
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • 2024-Q3-Alpha-S2, 2024-Q3-Alpha-S3
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

      What were you trying to do that didn't work?

      ipa-migrate in stage mode failed with error.

      Please provide the package NVR for which bug is seen:

       

      How reproducible: Always

      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 dry run '-x'
      5.  Now Run ipa-migrate stage mode

      Expected results

      Stage mode without dry run should pass.

      Actual results

      4. ipa-migrate stage mode in dry run works without any error.

      5. ipa-migrate stage mode fails as seen below

      [root@local ~]# 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.

      [root@remote ~]# id user1
      uid=817200003(user1) gid=817200003(user1) groups=817200003(user1)

      [root@local ~]# id user1
      uid=817200008(user1) gid=817200008(user1) groups=817200008(user1)

            rhn-engineering-mareynol Mark Reynolds
            sumenon@redhat.com Sudhir Menon
            Florence Renaud Florence Renaud
            Sudhir Menon Sudhir Menon
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: