#3602 Using dom-sid/dom-name option, gives error if rid-base is not given along with it on cli
Closed: Fixed None Opened 10 years ago by steeve.

When using dom-sid/dom-name option without --rid-base on cli, an error is thrown for them to be used together. It should prompt asking for the rid-base value instead.

[root@django ~]# ipa idrange-add --dom-sid S-1-5-21-1693669768-2699728970-127804340 
Range name: ADRELM_id_range
First Posix ID of the range: 1549000000                                                
Number of IDs in the range: 10
ipa: ERROR: invalid 'ID Range setup': Options dom-sid/dom-name and rid-base must be used together

[root@django ~]# ipa idrange-add --dom-name adlabs.com
Range name: ADRELM_id_range
First Posix ID of the range: 1549000000
Number of IDs in the range: 10
ipa: ERROR: invalid 'ID Range setup': Options dom-sid/dom-name and rid-base must be used together

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

Moving to next month bucket.

master:[[BR]]
e87c21a Incorporate interactive prompts in idrange-add[[BR]]
89ffaf4 Add prompt_param method to avoid code duplication[[BR]]
8984e3e Remove redundant check for env.interactive[[BR]]

ipa-3-2:[[BR]]
e3ef78c Incorporate interactive prompts in idrange-add[[BR]]
47d868b Add prompt_param method to avoid code duplication[[BR]]
6b2c9f0 Remove redundant check for env.interactive[[BR]]

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

7 years ago

Login to comment on this ticket.

Metadata