summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-02-24 10:20:48 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-25 08:40:28 -0500
commit980020c1ad798b79e7bb2c1618a04dd5cb7dd5cd (patch)
treebc082fd4dfcbf5ed6bc3f62b28bc6bca0d21c283 /src/providers
parent52e080ee2d50b6439b503695fb12808b3d0cc30b (diff)
downloadsssd-980020c1ad798b79e7bb2c1618a04dd5cb7dd5cd.tar.gz
sssd-980020c1ad798b79e7bb2c1618a04dd5cb7dd5cd.tar.xz
sssd-980020c1ad798b79e7bb2c1618a04dd5cb7dd5cd.zip
Fix check for values of expiration limits
There were inconsistencies between what sssd.conf manpage said and what the code enforces.
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/ldap_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index a67ea3626..b5765c276 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -251,7 +251,7 @@ int ldap_get_options(TALLOC_CTX *memctx,
goto done;
}
if (offline_credentials_expiration && account_cache_expiration &&
- offline_credentials_expiration >= account_cache_expiration) {
+ offline_credentials_expiration > account_cache_expiration) {
DEBUG(1, ("Value of %s (now %d) must be larger "
"than value of %s (now %d)\n",
opts->basic[SDAP_ACCOUNT_CACHE_EXPIRATION].opt_name,