summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider_opts.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-11-19 16:52:36 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-06 11:29:31 +0100
commit9cd9a6776c5afb03e094fb17c8da7ee8fe768285 (patch)
tree5ca0fec2735311e5d820671a08a7b538e6860e9e /src/providers/data_provider_opts.c
parenta0102eed6cdd894fd2b079cfae006e0a62f94777 (diff)
downloadsssd-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