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.
Bug 2000947 - subid: subid-match displays the DN of the owner, not its UID.
Summary: subid: subid-match displays the DN of the owner, not its UID.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: François Cami
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 2003003
TreeView+ depends on / blocked
 
Reported: 2021-09-03 11:23 UTC by François Cami
Modified: 2022-06-01 10:18 UTC (History)
7 users (show)

Fixed In Version: ipa-4.9.6-7.el9_b
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2003003 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:33:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-6878 0 None None None 2021-09-22 10:22:20 UTC
Red Hat Issue Tracker RHELPLAN-96144 0 None None None 2021-09-03 11:24:02 UTC

Description François Cami 2021-09-03 11:23:02 UTC
Current output:

$ ipa subid-match --subuid=2147614720
------------------------
1 subordinate id matched
------------------------
  Unique ID: 34f9f100-3605-45e3-8f79-39f0bf6b9da0
  Owner: uid=admin,cn=users,cn=accounts,dc=laptop,dc=example,dc=org


Desired output:

# ipa subid-match --subuid=2147614720
------------------------
1 subordinate id matched
------------------------
  Unique ID: 34f9f100-3605-45e3-8f79-39f0bf6b9da0
  Owner: admin

Comment 2 François Cami 2021-09-03 11:33:17 UTC
Tracked for RHEL8 in https://bugzilla.redhat.com/show_bug.cgi?id=1981322

Comment 11 Michal Polovka 2021-09-20 13:51:05 UTC
Pre-verified - tested using RHEL9 Beta machine with ipa-server-4.9.6-7.el9_b.x86_64.

# ipa subid-generate
-----------------------------------------------------------
Added subordinate id "9ab0ee19-a968-476c-bbde-c5d3a84dfb34"
-----------------------------------------------------------
  Unique ID: 9ab0ee19-a968-476c-bbde-c5d3a84dfb34
  Description: auto-assigned subid
  Owner: admin

# ipa subid-match --subuid=2147483648
------------------------
1 subordinate id matched
------------------------
  Unique ID: 9ab0ee19-a968-476c-bbde-c5d3a84dfb34
  Owner: admin

Therefore marking as pre-verified: tested.

Comment 15 Michal Polovka 2021-09-23 14:37:00 UTC
Verified manually using RHEL9 Beta machine

Old version: ipa-server-4.9.6-6.el9.x86_64

# ipa subid-generate
-----------------------------------------------------------
Added subordinate id "76a60f4f-0994-4c34-9677-97602c526400"
-----------------------------------------------------------
  Unique ID: 76a60f4f-0994-4c34-9677-97602c526400
  Description: auto-assigned subid
  Owner: admin
  SubUID range start: 2147483648
  SubUID range size: 65536
  SubGID range start: 2147483648
  SubGID range size: 65536

 # ipa subid-match --subuid=2147483648
------------------------
1 subordinate id matched
------------------------
  Unique ID: 76a60f4f-0994-4c34-9677-97602c526400
  Owner: uid=admin,cn=users,cn=accounts,dc=ipa,dc=test
  SubUID range start: 2147483648
  SubUID range size: 65536
  SubGID range start: 2147483648
  SubGID range size: 65536
----------------------------
Number of entries returned 1


Fixed version: ipa-server-4.9.6-8.el9_b.x86_64 
# ipa subid-match --subuid=2147483648
------------------------
1 subordinate id matched
------------------------
  Unique ID: 76a60f4f-0994-4c34-9677-97602c526400
  Owner: admin
  SubUID range start: 2147483648
  SubUID range size: 65536
  SubGID range start: 2147483648
  SubGID range size: 65536
----------------------------
Number of entries returned 1
----------------------------

Hence marking as verified. Automation will be provided upstream.


Note You need to log in before you can comment on or make changes to this bug.