[Freeipa-devel] [PATCH 0085] Limit pwpolicy maxlife to 20000 days

Tomas Babej tbabej at redhat.com
Mon Aug 5 12:45:18 UTC 2013


Hi,

Since krbMaxPwdLife attribute is represented as number of seconds,
setting maxlife to high values such as 999 999 days (~2739 years)
would result to overflow when parsing this attribute in kdb plugin,
and hence default maxlife of 90 days would be applied.

Limit the maximum value of maxlife that can be set through the
framework to 20 000 days (~ 54 years).

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

Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0085-Limit-pwpolicy-maxlife-to-20000-days.patch
Type: text/x-patch
Size: 5038 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130805/20953425/attachment.bin>


More information about the Freeipa-devel mailing list