[Freeipa-devel] [PATCH] 681 set default maxint

Rob Crittenden rcritten at redhat.com
Mon Jan 17 21:28:02 UTC 2011


Set a default for maxint that matches what xmlrpclib can handle. Also 
handle marshalling errors from xmlrpclib so users don't get a backtrace.

This was discovered by a typo in a dns serial number which exceeded 4 
bytes. To test try something like:

$ ipa dnszone-add --name-server=192.168.122.214 
--admin-email=test at example.com --serial=20100101010 --refresh=300 
--retry=300 --expire=1200000 --minimum=3000 --maximum=9200 --ttl=100 newzone

ticket 770

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-681-maxint.patch
Type: text/x-patch
Size: 2827 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110117/c7b85a37/attachment.bin>


More information about the Freeipa-devel mailing list