[krbdev.mit.edu #6911] Account lockout policy options time format

Shawn Emery via RT rt-comment at krbdev.mit.edu
Tue May 10 15:02:01 EDT 2011



There are two bugs with kadmin's account lockout policy feature that we 
should fix:

1. the lockoutduration and failurecountinterval arguments silently 
coerce their value to seconds.  For example, if you specify "5 minutes", 
it will assign the value as five seconds.

solution: use getdate for input.

2. the policy output does not format the values in a time format.  For 
example, "5" is displayed, instead of "0 days 00:00:05" for five seconds.

solution: use strdur on output.

Shawn.
--




More information about the krb5-bugs mailing list