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:06:46 +0100 |
commit | 6230ee6822dd61f3591c3c502047b338f09b3292 (patch) | |
tree | 41456c42bff9d48183cd144b190fc103b4859365 /src/responder/common | |
parent | ff5934cbe9c02ca3e3d2a851460339f3126202b7 (diff) | |
download | sssd-6230ee6822dd61f3591c3c502047b338f09b3292.tar.gz sssd-6230ee6822dd61f3591c3c502047b338f09b3292.tar.bz2 sssd-6230ee6822dd61f3591c3c502047b338f09b3292.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')
0 files changed, 0 insertions, 0 deletions