summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/cert.py
diff options
context:
space:
mode:
authorAdam Misnyovszki <amisnyov@redhat.com>2014-02-21 12:08:55 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-02-25 16:01:27 +0100
commitbe7b1b94e300b137c34bab80df3dc91195259c89 (patch)
tree7c13ead01c20cbe511e9febdbf3f87a56fc703ef /ipalib/plugins/cert.py
parentbc0872cc0b33379a2a4109c9b353ac81d10cec83 (diff)
downloadfreeipa-be7b1b94e300b137c34bab80df3dc91195259c89.tar.gz
freeipa-be7b1b94e300b137c34bab80df3dc91195259c89.tar.xz
freeipa-be7b1b94e300b137c34bab80df3dc91195259c89.zip
Certificate search max_serial_number problem fixed
Maximum serial number field now accepts only positive numbers https://fedorahosted.org/freeipa/ticket/4163 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib/plugins/cert.py')
-rw-r--r--ipalib/plugins/cert.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py
index 762f13b0f..5fa9206d5 100644
--- a/ipalib/plugins/cert.py
+++ b/ipalib/plugins/cert.py
@@ -650,10 +650,12 @@ class cert_find(Command):
doc=_("minimum serial number"),
autofill=False,
minvalue=0,
+ maxvalue=2147483647,
),
Int('max_serial_number?',
doc=_("maximum serial number"),
autofill=False,
+ minvalue=0,
maxvalue=2147483647,
),
Flag('exactly?',