diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-11-19 16:52:36 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-06 11:29:31 +0100 |
commit | 9cd9a6776c5afb03e094fb17c8da7ee8fe768285 (patch) | |
tree | 5ca0fec2735311e5d820671a08a7b538e6860e9e /src/providers/data_provider_opts.c | |
parent | a0102eed6cdd894fd2b079cfae006e0a62f94777 (diff) | |
download | sssd-9cd9a6776c5afb03e094fb17c8da7ee8fe768285.tar.gz sssd-9cd9a6776c5afb03e094fb17c8da7ee8fe768285.tar.xz sssd-9cd9a6776c5afb03e094fb17c8da7ee8fe768285.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/providers/data_provider_opts.c')
0 files changed, 0 insertions, 0 deletions