[Freeipa-devel] [PATCH] 091 Improve long integer type validation

Rob Crittenden rcritten at redhat.com
Fri Jul 15 21:26:27 UTC 2011


Martin Kosek wrote:
> Passing a number of "long" type to IPA Int parameter invokes
> user-unfriendly error message about incompatible types. This patch
> improves Int parameter with user understandable message along with
> maximum value he can pass.
>
> https://fedorahosted.org/freeipa/ticket/1346

nack. We need to limit Int to 32-bit values because that is what XML-RPC 
supports. So if maxvalue isn't set we need to compare against MAXINT and 
not sys.maxint.

rob




More information about the Freeipa-devel mailing list