diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-11-19 16:52:36 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-02 22:07:45 +0100 |
commit | b0662f6564038fd5658ac0b4e1f2423ac994f8ab (patch) | |
tree | 2050e02d856315c85c0c038897a45cd1e7adedc9 /src/responder/common/responder_cmd.c | |
parent | a729f079ec4258923b286d0da1758974ae48cf97 (diff) | |
download | sssd-b0662f6564038fd5658ac0b4e1f2423ac994f8ab.tar.gz sssd-b0662f6564038fd5658ac0b4e1f2423ac994f8ab.tar.xz sssd-b0662f6564038fd5658ac0b4e1f2423ac994f8ab.zip |
warn user if password is about to expire
https://fedorahosted.org/sssd/ticket/1638
If pwd_exp_warning == 0, expiry warning should be printed if it is
returned by server.
If pwd_exp_warning > 0, expiry warning should be printed only if
the password will expire in time <= pwd_exp_warning.
ppolicy->expiry contains period in seconds after which the password
expires. Not the exact timestamp. Thus we should not add 'now' to
pwd_exp_warning.
Diffstat (limited to 'src/responder/common/responder_cmd.c')
0 files changed, 0 insertions, 0 deletions