summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-01-12 16:37:02 +0100
committerMartin Kosek <mkosek@redhat.com>2012-01-12 17:15:00 +0100
commit485c3bb8973f53def52b0750da029be5b5221608 (patch)
treed735363559e0ed11797b06ca060e8fa91e09e388 /ipalib
parenta22620c832d2525723a70f084c9eccfa13dc66d2 (diff)
downloadfreeipa-485c3bb8973f53def52b0750da029be5b5221608.tar.gz
freeipa-485c3bb8973f53def52b0750da029be5b5221608.tar.xz
freeipa-485c3bb8973f53def52b0750da029be5b5221608.zip
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
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/dns.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index dfec70ecc..8042c3a1b 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,