summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap.c
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-07-29 03:57:46 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-07-31 10:16:59 +0200
commit4b1a46396caf656095e5f5e90d43996bdeaba0f3 (patch)
tree066b22a5e887fa99d5b88e3794c97c8dfc1ddc2a /src/providers/ldap/sdap.c
parent4de84af23db74e13e867985c9093f394c9fa8d51 (diff)
downloadsssd-4b1a46396caf656095e5f5e90d43996bdeaba0f3.tar.gz
sssd-4b1a46396caf656095e5f5e90d43996bdeaba0f3.tar.xz
sssd-4b1a46396caf656095e5f5e90d43996bdeaba0f3.zip
SDAP: rename SDAP_CACHE_PURGE_TIMEOUT
Enum member SDAP_CACHE_PURGE_TIMEOUT has counter-intuitive name as it's used to access 'ldap_purge_cache_timeout' option. SDAP_CACHE_PURGE_TIMEOUT is more fitting name. Reviewed-by: Petr Cech <pcech@redhat.com>
Diffstat (limited to 'src/providers/ldap/sdap.c')
-rw-r--r--src/providers/ldap/sdap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c
index 051e3c1d2..97bc14b87 100644
--- a/src/providers/ldap/sdap.c
+++ b/src/providers/ldap/sdap.c
@@ -248,7 +248,7 @@ static void sdap_inherit_basic_options(char **inherit_opt_list,
struct dp_option *subdom_opts)
{
int inherit_options[] = {
- SDAP_CACHE_PURGE_TIMEOUT,
+ SDAP_PURGE_CACHE_TIMEOUT,
SDAP_AD_USE_TOKENGROUPS,
SDAP_OPTS_BASIC /* sentinel */
};