Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1177706

Summary: ID Ranges cannot be changed after installation
Product: [Fedora] Fedora Reporter: prashant
Component: freeipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: abokovoy, ipa-maint, mkosek, pviktori, pvoborni, rcritten, ssorce, tbabej
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: freeipa-4.2.2-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-11 16:02:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description prashant 2014-12-30 01:11:57 UTC
Description of problem: On a fresh install of FreeIPA, if we do not set a ID range during installation it will choose a randomly generated range. But after the installation, if we want to change this under IPA Server --> ID Ranges --> EXAMPLE.COM_id_range, the change is accepted but it appears that its not getting honored. 


Version-Release number of selected component (if applicable): 4.1.20


How reproducible: On a fresh FC21 install.


Steps to Reproduce:
1. Install the freeipa-server using yum on a FC21. 
2. Setup IPA using ipa-server-install command. Do not specify an ID range.
3. Login to the webUI and note the ID range 
5. Change the ID Range.
5. Create a user or a group. 

Actual results:
1. User or group gets an ID from range noted in step #3 above.

Expected results:
1. User or group should have an ID from range defined in step #4 above.

Additional info:
For adding 1 or 2 users by hand this is just a inconvenience as the ID can be changed after adding the user to whatever we want. But if I'm automating and adding 100s of users/groups it becomes a hassle.

Comment 1 prashant 2014-12-30 01:20:37 UTC
Aah.. the lines numbers got messed up. Please red the steps to reproduce as below.

1. Install the freeipa-server using yum on a FC21. 
2. Setup IPA using ipa-server-install command. Do not specify an ID range.
3. Login to the webUI and note the ID range 
4. Change the ID Range.
5. Create a user or a group.

Comment 2 Petr Vobornik 2015-01-05 16:37:21 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/4826

Comment 4 Fedora Update System 2015-10-08 14:40:45 UTC
freeipa-4.2.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-4abcc8b937

Comment 5 Fedora Update System 2015-10-09 13:55:27 UTC
freeipa-4.2.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update freeipa'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-4abcc8b937

Comment 6 Fedora Update System 2015-10-11 16:02:26 UTC
freeipa-4.2.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.