summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/config.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2011-02-07 11:42:17 -0500
committerRob Crittenden <rcritten@redhat.com>2011-02-10 11:16:57 -0500
commitacc437c5fe4b90493e0481fbc2502b40254f5475 (patch)
tree2aac064b86ab7f3ec291577efae358edc2eddf38 /ipalib/plugins/config.py
parentab7e70248763ae176f8ea419df6d8b1c4c2eb1d6 (diff)
downloadfreeipa-acc437c5fe4b90493e0481fbc2502b40254f5475.tar.gz
freeipa-acc437c5fe4b90493e0481fbc2502b40254f5475.tar.xz
freeipa-acc437c5fe4b90493e0481fbc2502b40254f5475.zip
Update config doc to reflect that 0 is not allowed for search time limit.
Fix #837
Diffstat (limited to 'ipalib/plugins/config.py')
-rw-r--r--ipalib/plugins/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/config.py b/ipalib/plugins/config.py
index 390542d13..1b5fe869f 100644
--- a/ipalib/plugins/config.py
+++ b/ipalib/plugins/config.py
@@ -42,7 +42,7 @@ User management options:
Search tuning options. These impact how much data is searched through and
how many records may be returned on a given search.
- --searchtimelimit=INT Max. amount of time (sec.) for a search (-1 is
+ --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)
@@ -119,7 +119,7 @@ class config(LDAPObject):
Int('ipasearchtimelimit?', validate_searchtimelimit,
cli_name='searchtimelimit',
label=_('Search time limit'),
- doc=_('Max. amount of time (sec.) for a search (-1 is unlimited)'),
+ doc=_('Max. amount of time (sec.) for a search (> 0, or -1 for unlimited)'),
minvalue=-1,
),
Int('ipasearchrecordslimit?',