Bug 671512

Summary: ipa config-mod help should be updated to reflect 0 not allowed as default search limit
Product: [Retired] freeIPA Reporter: Jenny Severance <jgalipea>
Component: ipa-admintoolsAssignee: Dmitri Pal <dpal>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.0CC: benl, dpal, jgalipea
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freeipa-2.1.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 07:22:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jenny Severance 2011-01-21 18:16:41 UTC
Description of problem:
The help should be updated to reflect that 0 is not allowed.


Version-Release number of selected component (if applicable):
ipa-server-2.0-0.2011012001git835436d.fc14.i686
ipa-admintools-2.0-0.2011012001git835436d.fc14.i686

How reproducible:


Steps to Reproduce:
1. ipa help config-mod
2.
3.
  
Actual results:
  --searchtimelimit=INT
                        Max. amount of time (sec.) for a search (-1 is
                        unlimited)

Expected results:
 help to specify 0 is not allowed

Additional info:

Comment 1 Dmitri Pal 2011-01-24 21:34:39 UTC
https://fedorahosted.org/freeipa/ticket/837

Comment 2 Pavel Zuna 2011-02-10 16:41:12 UTC
master: acc437c5fe4b90493e0481fbc2502b40254f5475

Comment 3 Jenny Severance 2011-06-10 17:27:05 UTC
verified

# rpm -qi ipa-server | head
Name        : ipa-server                   Relocations: (not relocatable)
Version     : 2.0.0                             Vendor: Red Hat, Inc.
Release     : 23.el6                        Build Date: Wed 20 Apr 2011 09:57:13 AM EDT
Install Date: Thu 19 May 2011 12:47:52 PM EDT      Build Host: x86-003.build.bos.redhat.com
Group       : System Environment/Base       Source RPM: ipa-2.0.0-23.el6.src.rpm
Size        : 2565882                          License: GPLv3+
Signature   : RSA/8, Thu 21 Apr 2011 03:48:25 PM EDT, Key ID 199e2f91fd431d51
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.freeipa.org/
Summary     : The IPA authentication server


# ipa help config-mod
Purpose: Modify configuration options.
Usage: ipa [global-options] config-mod [options]

Options:
  -h, --help            show this help message and exit
  --maxusername=INT     Max. username length
  --homedirectory=IA5STR
                        Default location of home directories.
  --defaultshell=STR    Default shell for new users.
  --defaultgroup=STR    Default group for new users.
  --emaildomain=STR     Default e-mail domain new users.
  --searchtimelimit=INT
                        Max. amount of time (sec.) for a search (> 0, or -1
                        for unlimited).
  --searchrecordslimit=INT
                        Max. number of records to search (-1 is unlimited).
  --usersearch=IA5STR   A comma-separated list of fields to search when
                        searching for users.
  --groupsearch=IA5STR  A comma-separated list of fields to search when
                        searching for groups.
  --enable-migration=BOOL
                        Enable migration mode.
  --groupobjectclasses=LIST
                        Default group objectclassses (comma-separated list).
  --userobjectclasses=LIST
                        Default user objectclassses (comma-separated list).
  --pwdexpnotify=INT    Number of days's notice of impending password
                        expiration.
  --addattr=STR         Add an attribute/value pair. Format is attr=value. The
                        attribute must be part of the schema.
  --setattr=STR         Set an attribute to a name/value pair. Format is
                        attr=value. For multi-valued attributes, the command
                        replaces the values already present.
  --rights              Display the access rights of this entry (requires
                        --all). See ipa man page for details.
  --all                 Retrieve and print all attributes from the server.
                        Affects command output.
  --raw                 Print entries as stored on the server. Only affects
                        output format.