From: | ghudson@mit.edu |
Subject: | git commit |
Do expiration warnings for all init_creds APIs
Move the password expiration warning code from gic_pwd.c to
get_in_tkt.c. Call it from init_creds_step_reply() on successful
completion.
[ghudson@mit.edu: added test case; simplified doc comment; moved call
site to init_creds_step_reply(); rewrote commit message]
https://github.com/krb5/krb5/commit/e1efb890f7ac31b32c68ab816ef118dbfb5a8c7e
Author: Sumit Bose <sbose@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: e1efb890f7ac31b32c68ab816ef118dbfb5a8c7e
Branch: master
src/include/krb5/krb5.hin | 9 +--
src/lib/krb5/krb/get_in_tkt.c | 112 +++++++++++++++++++++++++++++++++++++
src/lib/krb5/krb/gic_pwd.c | 110 ------------------------------------
src/lib/krb5/krb/t_expire_warn.c | 47 +++++++++++-----
src/lib/krb5/krb/t_expire_warn.py | 22 +++++--
5 files changed, 165 insertions(+), 135 deletions(-)