#3086 rid-base and secondary rid base should be restricted from reuse
Closed: Fixed None Opened 11 years ago by steeve.

rid-base and secondary rid base should be restricted from reuse as it would result in duplicate RIDs/SIDs

[root@sideswipe ~]# ipa idrange-find
----------------
2 ranges matched
----------------
  Range name: IPALAB.QE_id_range
  First Posix ID of the range: 153000000
  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: new_range
  First Posix ID of the range: 153200000
  Number of IDs in the range: 44
  Range type: local domain range
----------------------------
Number of entries returned 2
----------------------------
[root@sideswipe ~]# ipa idrange-add --base-id=153400000 --range-size=33 --rid-base=1000 --secondary-rid-base=100000000
Range name: nava
---------------------
Added ID range "nava"
---------------------
  Range name: nava
  First Posix ID of the range: 153400000
  Number of IDs in the range: 33
  First RID of the corresponding RID range: 1000
  First RID of the secondary RID range: 100000000
  Range type: local domain range

Rename "trusts" component to "Trusts" to achieve correct sorting.

Metadata Update from @steeve:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 3.0.1 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata