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:43 +0100
commite64037009e7e3eb34f7b8320e1b7d8d57ee35418 (patch)
tree79e4a32df38ab8ef771b1fd657b313233eb6801f /ipalib
parentd27bffe0a877425fee90a7c87db4d9c2c7ae7e8a (diff)
downloadfreeipa.git-e64037009e7e3eb34f7b8320e1b7d8d57ee35418.tar.gz
freeipa.git-e64037009e7e3eb34f7b8320e1b7d8d57ee35418.tar.xz
freeipa.git-e64037009e7e3eb34f7b8320e1b7d8d57ee35418.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 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,