Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1353924 - Search size limit is incorrectly displayed as -1 when search records limit is set to 0.
Summary: Search size limit is incorrectly displayed as -1 when search records limit is...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: Kaleem
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-08 12:31 UTC by Nikhil Dehadrai
Modified: 2016-07-12 16:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-12 16:10:17 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Nikhil Dehadrai 2016-07-08 12:31:09 UTC
Description of problem:
Search size limit is incorrectly displayed as -1 when ipa config-mod's search records limit is set to 0.

Version-Release number of selected component (if applicable):
ipa-server-4.4.0-1.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup IPA server.(In my case IPA server is setup on RHEL 7.3)
2. Login with root user, run "kinit admin" and provide correct password.
3. Now run command "ipa config-mod --searchrecordslimit=0"

Actual results:
After step 3, the output returns as
Search size limit: -1

Expected results:
After step3, the output should return correct value as set.

Additional info:
When the same command is run for any other value, it is correctly displayed.
1) ipa config-mod --searchrecordslimit=100
Output: Search size limit: 100 

2) ipa config-mod --searchrecordslimit=-1
Output: Search size limit: -1

Comment 3 Petr Vobornik 2016-07-12 16:10:17 UTC
This is a deliberate change implemented in upstream ticket https://fedorahosted.org/freeipa/ticket/4023


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