[Freeipa-devel] [PATCH] 835 set default min int, handle longs

Rob Crittenden rcritten at redhat.com
Wed Jul 20 02:15:20 UTC 2011


Our handling of long values wasn't the best when dealing with negative 
values. Added a default minint similar to maxint and validate_scalar in 
Int to allow either int or long types. This lets it get to the min/max 
rules where we can compare properly and give a better error response.

Note that I changed the language slightly from value 'must be at least 
x' to 'can be at least x'. It reads better to me this way but I'm flexible.

https://fedorahosted.org/freeipa/ticket/1494

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-835-minint.patch
Type: text/x-diff
Size: 5400 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110719/d344944d/attachment.bin>


More information about the Freeipa-devel mailing list