diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-02-28 14:24:59 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-01 16:21:28 +0100 |
commit | e41ac95891837e8a818f529cef9376cb190b8507 (patch) | |
tree | 974f3a1c7615836bc9eb72c608c9678e71698035 /src/confdb | |
parent | 35c3d98374d7ce3cb1f37eaa012af83eb82a731a (diff) | |
download | sssd-e41ac95891837e8a818f529cef9376cb190b8507.tar.gz sssd-e41ac95891837e8a818f529cef9376cb190b8507.tar.xz sssd-e41ac95891837e8a818f529cef9376cb190b8507.zip |
Don't treat 0 as default for pam_pwd_expiration warning
Diffstat (limited to 'src/confdb')
-rw-r--r-- | src/confdb/confdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c index 31c48bd28..e1888678e 100644 --- a/src/confdb/confdb.c +++ b/src/confdb/confdb.c @@ -1038,7 +1038,8 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb, } } - if (val > 0) { + DEBUG(SSSDBG_TRACE_LIBS, ("pwd_expiration_warning is %d\n", val)); + if (val >= 0) { DEBUG(SSSDBG_CONF_SETTINGS, ("Setting domain password expiration warning to %d days\n", val)); /* The value is in days, transform it to seconds */ |