Skip Menu |
 

Date: Tue, 10 May 2011 00:35:07 -0600
From: Shawn Emery <shawn.emery@oracle.com>
To: krb5-bugs@mit.edu
Subject: Account lockout policy options time format


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.
--

From: ghudson@mit.edu
Subject: SVN Commit

In kadmin, try using get_date() for lockout-related duration inputs to
modpol and addpol, but still allow bare numbers of seconds since
that's what we took in 1.8 and 1.9. Use strdur() to display
lockout-related durations in getpol. Reported by
shawn.emery@oracle.com.


https://github.com/krb5/krb5/commit/9883d15e9ffb89a0c1e3a9d8d6afda86ccb8e5e2
Commit By: ghudson
Revision: 24931
Changed Files:
U trunk/src/kadmin/cli/kadmin.c
From: ghudson@mit.edu
Subject: SVN Commit

Handle invalid intervals in lockout-related kadmin parameters.

https://github.com/krb5/krb5/commit/b679ed1ac8cb5aeffd9b73969e19b2197ed0f05e
Commit By: ghudson
Revision: 24966
Changed Files:
U trunk/src/kadmin/cli/kadmin.c
Date: Fri, 10 Jun 2011 13:01:34 -0700 (PDT)
From: shawn.emery@oracle.com
To: rt-comment@krbdev.mit.edu
Subject: Auto Reply: [krbdev.mit.edu #6911] SVN Commit
RT-Send-Cc:

I'm currently out of the office and won't return until 6/14/11. I'll respond to e-mails after that time. If this needs attention before then, please contact my manager Eric Kozlowski.

Shawn.
--