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 907918 - secondary-rid-range overlap should be checked only for local domain ranges
Summary: secondary-rid-range overlap should be checked only for local domain ranges
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-05 14:22 UTC by Ann Marie Rubin
Modified: 2015-02-18 11:40 UTC (History)
4 users (show)

Fixed In Version: ipa-3.2.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:20:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ann Marie Rubin 2013-02-05 14:22:31 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/3391

Secondary rid range cannot be specified when adding ID range for trusted domain. However, secondary rid range overlap check is performed on them. This causes error when adding a second ID range for trusted domain.


{{{
[tbabej@vm-073 freeipa]$ ipa idrange-find
----------------
2 ranges matched
----------------
  Range name: IPA.ADTEST.EXAMPLE.COM_id_range
  First Posix ID of the range: 1768600000
  Number of IDs in the range: 200000
  First RID of the corresponding RID range: 1000
  First RID of the secondary RID range: 100000000
  Range type: local domain range

  Range name: ADTEST.EXAMPLE.COM_id_range
  First Posix ID of the range: 1310800000
  Number of IDs in the range: 200000
  First RID of the corresponding RID range: 0
  Domain SID of the trusted domain: S-1-5-21-4020879869-1603628879-716353140
  Range type: Active Directory domain range
----------------------------
Number of entries returned 2
----------------------------
[tbabej@vm-073 freeipa]$ ipa idrange-add test1 --dom-name=adtest.example.com --rid-base=500 --base-id=50 --range-size=5
----------------------
Added ID range "test1"
----------------------
  Range name: test1
  First Posix ID of the range: 50
  Number of IDs in the range: 5
  First RID of the corresponding RID range: 500
  Domain SID of the trusted domain: S-1-5-21-4020879869-1603628879-716353140
  Range type: Active Directory domain range
[tbabej@vm-073 freeipa]$ ipa idrange-add test2 --dom-name=adtest.example.com --rid-base=600 --base-id=60 --range-size=5 
ipa: ERROR: Constraint violation: New secondary rid range overlaps with existing secondary rid range.
[tbabej@vm-073 freeipa]$
}}}

Effectively, this means we can have only one ID range per trusted domain defined.

Comment 2 RHEL Program Management 2013-02-12 18:36:40 UTC
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 8 Steeve Goveas 2014-01-06 11:47:57 UTC
[root@dhcp207-43 ~]# ipa idrange-find
----------------
3 ranges matched
----------------
  Range name: ADTEST.QE_id_range
  First Posix ID of the range: 1148400000
  Number of IDs in the range: 200000
  First RID of the corresponding RID range: 0
  Domain SID of the trusted domain: S-1-5-21-1910160501-511572375-3625658879
  Range type: Active Directory domain range

  Range name: PUNE.ADTEST.QE_id_range
  First Posix ID of the range: 839000000
  Number of IDs in the range: 200000
  First RID of the corresponding RID range: 0
  Domain SID of the trusted domain: S-1-5-21-91314187-2404433721-1858927112
  Range type: Active Directory domain range

  Range name: TESTRELM.COM_id_range
  First Posix ID of the range: 1741800000
  Number of IDs in the range: 200000
  First RID of the corresponding RID range: 1000
  First RID of the secondary RID range: 100000000
  Range type: local domain range
----------------------------
Number of entries returned 3
----------------------------

[root@dhcp207-43 ~]# ipa idrange-add test1 --dom-name=pune.adtest.qe --rid-base=500 --base-id=50 --range-size=5
----------------------
Added ID range "test1"
----------------------
  Range name: test1
  First Posix ID of the range: 50
  Number of IDs in the range: 5
  First RID of the corresponding RID range: 500
  Domain SID of the trusted domain: S-1-5-21-91314187-2404433721-1858927112
  Range type: Active Directory domain range

[root@dhcp207-43 ~]# ipa idrange-add test2 --dom-name=pune.adtest.qe --rid-base=600 --base-id=60 --range-size=5
----------------------
Added ID range "test2"
----------------------
  Range name: test2
  First Posix ID of the range: 60
  Number of IDs in the range: 5
  First RID of the corresponding RID range: 600
  Domain SID of the trusted domain: S-1-5-21-91314187-2404433721-1858927112
  Range type: Active Directory domain range

Verified in Version

[root@dhcp207-43 ~]# rpm -q ipa-server
ipa-server-3.3.3-8.el7.x86_64

Comment 9 Ludek Smid 2014-06-13 12:20:20 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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