Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1307276[details]
IDM Screen-shot
Description of problem:
When users and group migrated from FreeIPA to IDM, User private group have different objectclass.
We can see User private group under `User Groups` tab in Web-UI, as compared to local users, when we
create local IPA users, we can see UPG's under `User Groups -> ipausers` TAB.
Version-Release number of selected component (if applicable):
ipa-server-4.4.0-14.el7_3.7.x86_64
How reproducible:
Migrate Users From FreeIPA to IDM.
Steps to Reproduce:
1. Enable Migration mode on RHEL
# ipa config-mod --enable-migration=True
2. Migrate users with below command,
# ipa migrate-ds --bind-dn="cn=Directory Manager" --user-container=cn=users,cn=accounts --group-container=cn=groups,cn=accounts --group-objectclass=posixgroup --user-ignore-attribute={krbPrincipalName,krbextradata,krblastfailedauth,krblastpwdchange,krblastsuccessfulauth,krbloginfailedcount,krbpasswordexpiration,krbticketflags,krbpwdpolicyreference,mepManagedEntry} --user-ignore-objectclass=mepOriginEntry --with-compat ldap://freeipa1.example.com
3. Check Web-UI and Compare Objeclass for UPG's of local and migrated users.
Actual results:
Migrated User
----
[root@vm251-138 ~]# ipa group-find test9 --all --raw
---------------
1 group matched
---------------
dn: cn=test9,cn=groups,cn=accounts,dc=gaurav,dc=local
cn: test9
description: User private group for test9
gidnumber: 961600071
ipaUniqueID: 4957301a-7232-11e7-a87c-001a4a00013a
mepManagedBy: uid=test9,cn=users,cn=accounts,dc=gsslab,dc=pnq2,dc=redhat,dc=com
objectClass: ipaobject
objectClass: top
objectClass: mepmanagedentry
objectClass: ipausergroup
objectClass: posixgroup
objectClass: groupofnames
objectClass: nestedgroup
----------------------------
Number of entries returned 1
----------------------------
[root@vm251-138 ~]#
-----
Local User
----
[root@vm251-138 ~]# ipa group-find test11 --private --all --raw
---------------
1 group matched
---------------
dn: cn=test11,cn=groups,cn=accounts,dc=gaurav,dc=local
cn: test11
description: User private group for test11
gidnumber: 1938400008
ipaUniqueID: f7ada67a-7233-11e7-b9f7-001a4a00013a
mepManagedBy: uid=test11,cn=users,cn=accounts,dc=gaurav,dc=local
objectClass: posixgroup
objectClass: ipaobject
objectClass: mepManagedEntry
objectClass: top
----------------------------
Number of entries returned 1
----------------------------
[root@vm251-138 ~]#
----
Expected results:
Migrated User
----
[root@vm251-138 ~]# ipa group-find test9 --all --raw
---------------
1 group matched
---------------
dn: cn=test9,cn=groups,cn=accounts,dc=gaurav,dc=local
cn: test9
description: User private group for test9
gidnumber: 961600071
ipaUniqueID: 4957301a-7232-11e7-a87c-001a4a00013a
mepManagedBy: uid=test9,cn=users,cn=accounts,dc=gsslab,dc=pnq2,dc=redhat,dc=com
objectClass: posixgroup
objectClass: ipaobject
objectClass: mepManagedEntry
objectClass: top
----------------------------
Number of entries returned 1
----------------------------
[root@vm251-138 ~]#
-----
Local User
----
[root@vm251-138 ~]# ipa group-find test11 --private --all --raw
---------------
1 group matched
---------------
dn: cn=test11,cn=groups,cn=accounts,dc=gaurav,dc=local
cn: test11
description: User private group for test11
gidnumber: 1938400008
ipaUniqueID: f7ada67a-7233-11e7-b9f7-001a4a00013a
mepManagedBy: uid=test11,cn=users,cn=accounts,dc=gaurav,dc=local
objectClass: posixgroup
objectClass: ipaobject
objectClass: mepManagedEntry
objectClass: top
----------------------------
Number of entries returned 1
----------------------------
[root@vm251-138 ~]#
----
Additional info:
Screen-shot attached to the Bugzilla.
Created attachment 1307276 [details] IDM Screen-shot Description of problem: When users and group migrated from FreeIPA to IDM, User private group have different objectclass. We can see User private group under `User Groups` tab in Web-UI, as compared to local users, when we create local IPA users, we can see UPG's under `User Groups -> ipausers` TAB. Version-Release number of selected component (if applicable): ipa-server-4.4.0-14.el7_3.7.x86_64 How reproducible: Migrate Users From FreeIPA to IDM. Steps to Reproduce: 1. Enable Migration mode on RHEL # ipa config-mod --enable-migration=True 2. Migrate users with below command, # ipa migrate-ds --bind-dn="cn=Directory Manager" --user-container=cn=users,cn=accounts --group-container=cn=groups,cn=accounts --group-objectclass=posixgroup --user-ignore-attribute={krbPrincipalName,krbextradata,krblastfailedauth,krblastpwdchange,krblastsuccessfulauth,krbloginfailedcount,krbpasswordexpiration,krbticketflags,krbpwdpolicyreference,mepManagedEntry} --user-ignore-objectclass=mepOriginEntry --with-compat ldap://freeipa1.example.com 3. Check Web-UI and Compare Objeclass for UPG's of local and migrated users. Actual results: Migrated User ---- [root@vm251-138 ~]# ipa group-find test9 --all --raw --------------- 1 group matched --------------- dn: cn=test9,cn=groups,cn=accounts,dc=gaurav,dc=local cn: test9 description: User private group for test9 gidnumber: 961600071 ipaUniqueID: 4957301a-7232-11e7-a87c-001a4a00013a mepManagedBy: uid=test9,cn=users,cn=accounts,dc=gsslab,dc=pnq2,dc=redhat,dc=com objectClass: ipaobject objectClass: top objectClass: mepmanagedentry objectClass: ipausergroup objectClass: posixgroup objectClass: groupofnames objectClass: nestedgroup ---------------------------- Number of entries returned 1 ---------------------------- [root@vm251-138 ~]# ----- Local User ---- [root@vm251-138 ~]# ipa group-find test11 --private --all --raw --------------- 1 group matched --------------- dn: cn=test11,cn=groups,cn=accounts,dc=gaurav,dc=local cn: test11 description: User private group for test11 gidnumber: 1938400008 ipaUniqueID: f7ada67a-7233-11e7-b9f7-001a4a00013a mepManagedBy: uid=test11,cn=users,cn=accounts,dc=gaurav,dc=local objectClass: posixgroup objectClass: ipaobject objectClass: mepManagedEntry objectClass: top ---------------------------- Number of entries returned 1 ---------------------------- [root@vm251-138 ~]# ---- Expected results: Migrated User ---- [root@vm251-138 ~]# ipa group-find test9 --all --raw --------------- 1 group matched --------------- dn: cn=test9,cn=groups,cn=accounts,dc=gaurav,dc=local cn: test9 description: User private group for test9 gidnumber: 961600071 ipaUniqueID: 4957301a-7232-11e7-a87c-001a4a00013a mepManagedBy: uid=test9,cn=users,cn=accounts,dc=gsslab,dc=pnq2,dc=redhat,dc=com objectClass: posixgroup objectClass: ipaobject objectClass: mepManagedEntry objectClass: top ---------------------------- Number of entries returned 1 ---------------------------- [root@vm251-138 ~]# ----- Local User ---- [root@vm251-138 ~]# ipa group-find test11 --private --all --raw --------------- 1 group matched --------------- dn: cn=test11,cn=groups,cn=accounts,dc=gaurav,dc=local cn: test11 description: User private group for test11 gidnumber: 1938400008 ipaUniqueID: f7ada67a-7233-11e7-b9f7-001a4a00013a mepManagedBy: uid=test11,cn=users,cn=accounts,dc=gaurav,dc=local objectClass: posixgroup objectClass: ipaobject objectClass: mepManagedEntry objectClass: top ---------------------------- Number of entries returned 1 ---------------------------- [root@vm251-138 ~]# ---- Additional info: Screen-shot attached to the Bugzilla.