From acc437c5fe4b90493e0481fbc2502b40254f5475 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Mon, 7 Feb 2011 11:42:17 -0500 Subject: Update config doc to reflect that 0 is not allowed for search time limit. Fix #837 --- ipalib/plugins/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib') 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?', -- cgit