#3870 Error for using --base-id/--range-size when re-adding trust without those options
Closed: Fixed None Opened 7 years ago by steeve.

[root@hp-dl380pgen8-02-vm-2 ~]# ipa trust-add --type ad ipaqe.com --admin administrator --password
Active directory domain administrator's password: 
ipa: ERROR: invalid 'id range': An id range already exists for this trust. You should either delete the old range, or exclude --base-id/--range-size options from the command.

[root@hp-dl380pgen8-02-vm-2 ~]# ipa idrange-find
----------------
2 ranges matched
----------------
  Range name: IPAQE.COM_id_range
  First Posix ID of the range: 490200000
  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-2048782538-2375889789-2933420090
  Range type: Active Directory domain range

  Range name: TESTRELM.COM_id_range
  First Posix ID of the range: 848000000
  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 2
----------------------------

[root@hp-dl380pgen8-02-vm-2 ~]# ipa trust-add --type=ad ipaqe.com --admin Administrator --password
Active directory domain administrator's password: 
ipa: ERROR: invalid 'id range': An id range already exists for this trust. You should either delete the old range, or exclude --base-id/--range-size options from the command.

[root@hp-dl380pgen8-02-vm-2 ~]# ipa idrange-del IPAQE.COM_id_range
-------------------------------------
Deleted ID range "IPAQE.COM_id_range"
-------------------------------------

Metadata Update from @steeve:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 3.3.x - 2013/08 (bug fixing)

4 years ago

Login to comment on this ticket.

Metadata