diff options
Diffstat (limited to 'src/confdb/confdb.c')
-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 31c48bd2..e1888678 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 */ |