From 485c3bb8973f53def52b0750da029be5b5221608 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Thu, 12 Jan 2012 16:37:02 +0100 Subject: Fix maxvalue in DNS plugin Having a Parameter maxvalue larger that 2G makes Python convert it to "long" type instead of "int" type. Our framework than fails to bootstrap the API when it detects long integer in Parameter maxvalue. Remove the clashing maxvalue out entirely as we can't transfer values larger than 2G anyway (xmlrpc limitation). https://fedorahosted.org/freeipa/ticket/2082 --- ipalib/plugins/dns.py | 1 - 1 file changed, 1 deletion(-) (limited to 'ipalib/plugins/dns.py') diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index dfec70ec..8042c3a1 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -907,7 +907,6 @@ class SIGRecord(DNSRecord): Int('original_ttl', label=_('Original TTL'), minvalue=0, - maxvalue=4294967295, ), Str('signature_expiration', _sig_time_validator, -- cgit