Update config doc to reflect that 0 is not allowed for search time limit.

Fix #837
This commit is contained in:
Pavel Zuna 2011-02-07 11:42:17 -05:00 committed by Rob Crittenden
parent ab7e702487
commit acc437c5fe

View File

@ -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?',