[Freeipa-devel] [PATCH] 395 don't crash on blank min/maxlife in pwpolicy

Rob Crittenden rcritten at redhat.com
Fri Mar 5 18:41:06 UTC 2010


Don't calculate min/max lifetime if None is passed in.

None is passed if the option is set with --minlife=''. This is a valid 
use case to delete a non-required attribute. In this case we simply 
don't do the math on None and things work as expected.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-395-policy.patch
Type: application/mbox
Size: 1273 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100305/2d9c8dff/attachment.mbox>


More information about the Freeipa-devel mailing list