| Date: | Mon, 18 Apr 2016 17:30:01 -0400 (EDT) |
| From: | Ryan Slominski <ryans@jlab.org> |
| To: | krb5-bugs@mit.edu |
| Subject: | Password Expiration "Never" Inconsistently Applied |
| CC: | Adam Carpenter <adamc@jlab.org> |
If you set password expiration to "never" in a policy the result upon creating a principal with that policy is a password expiration with a value of 0 which is interpreted as the beginning of the epoch (1969). If you set the password expiration to "never" via addprinc / modprinc the result is a value of "none" when queried with getprinc. This is inconsistent.
Smaller related issues include:
1. The inconsistency between flags: -pwexpire for addprinc / modprinc versus -maxlife for addpol / modpol.
2. The inconsistency between -pwexpire input of "never" with getprinc output of "none" (what you get out should be identical to what you put in).
Smaller related issues include:
1. The inconsistency between flags: -pwexpire for addprinc / modprinc versus -maxlife for addpol / modpol.
2. The inconsistency between -pwexpire input of "never" with getprinc output of "none" (what you get out should be identical to what you put in).