diff options
author | Ken Hornstein <kenh@cmf.nrl.navy.mil> | 2002-10-23 20:08:04 +0000 |
---|---|---|
committer | Ken Hornstein <kenh@cmf.nrl.navy.mil> | 2002-10-23 20:08:04 +0000 |
commit | 3c526b3fbf333943f337cc2e508eb76ee5436d8b (patch) | |
tree | fcddd51275804271279d82d34b8b66dbfec7d1b6 /src/include | |
parent | 85d8c3f5fba56e462ed35af39b89b1b2b0b6855c (diff) | |
download | krb5-3c526b3fbf333943f337cc2e508eb76ee5436d8b.tar.gz krb5-3c526b3fbf333943f337cc2e508eb76ee5436d8b.tar.xz krb5-3c526b3fbf333943f337cc2e508eb76ee5436d8b.zip |
gic_pwd doesn't support password expiration notification via last_req hint
In kerberos-clarifications, a new last-req type (6) has been specified
that indicates when a principal's password will expire. This code implements
support for this last-req type. Note that the intent is that the last-req
type will only be included by the KDC when the time until password expiration
reaches some threshold (e.g, one week), so this code will display the
password expiration anytime the last-req type is included.
ticket: 1065
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14936 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ChangeLog | 5 | ||||
-rw-r--r-- | src/include/krb5.hin | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 77d721b51..6aeda6d41 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2002-10-23 Ken Hornstein <kenh@cmf.nrl.navy.mil> + + * krb5.hin: Add new LRQ type for password expiration + (from krb-clarifications) + 2002-10-07 Sam Hartman <hartmans@mit.edu> * Makefile.in : Add install-headers support diff --git a/src/include/krb5.hin b/src/include/krb5.hin index a8fa4766b..7ab1cde04 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -839,6 +839,7 @@ krb5_error_code krb5_decrypt_data #define KRB5_LRQ_ONE_LAST_RENEWAL (-4) #define KRB5_LRQ_ALL_LAST_REQ 5 #define KRB5_LRQ_ONE_LAST_REQ (-5) +#define KRB5_LRQ_PW_EXPTIME 6 /* PADATA types */ #define KRB5_PADATA_NONE 0 |