andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
dc8c34
From 6ec945fd7d66e4377a608765f02880ca8a858429 Mon Sep 17 00:00:00 2001
dc8c34
From: Noriko Hosoi <nhosoi@redhat.com>
dc8c34
Date: Sun, 12 Apr 2015 17:46:52 -0700
dc8c34
Subject: [PATCH 311/319] Ticket 408 - Backport of Normalized DN Cache
dc8c34
dc8c34
Description: commit 2a8da7ea76d15906fdb98b47534fc3447f12c752 set the
dc8c34
type of nsslapd-ndn-cache-enabled to CONFIG_INT.  This patch corrects
dc8c34
it to CONFIG_ON_OFF.
dc8c34
dc8c34
(cherry picked from commit 37d569605e23b94192b7aaf06fb44dca4a73fe0e)
dc8c34
---
dc8c34
 ldap/servers/slapd/libglobs.c | 2 +-
dc8c34
 1 file changed, 1 insertion(+), 1 deletion(-)
dc8c34
dc8c34
diff --git a/ldap/servers/slapd/libglobs.c b/ldap/servers/slapd/libglobs.c
dc8c34
index dbb0fa8..3672d99 100644
dc8c34
--- a/ldap/servers/slapd/libglobs.c
dc8c34
+++ b/ldap/servers/slapd/libglobs.c
dc8c34
@@ -1037,7 +1037,7 @@ static struct config_get_and_set {
dc8c34
 		CONFIG_ON_OFF, (ConfigGetFunc)config_get_ignore_time_skew, &init_ignore_time_skew},
dc8c34
 	{CONFIG_NDN_CACHE, config_set_ndn_cache_enabled,
dc8c34
 		NULL, 0,
dc8c34
-		(void**)&global_slapdFrontendConfig.ndn_cache_enabled, CONFIG_INT,
dc8c34
+		(void**)&global_slapdFrontendConfig.ndn_cache_enabled, CONFIG_ON_OFF,
dc8c34
 		(ConfigGetFunc)config_get_ndn_cache_enabled},
dc8c34
 	{CONFIG_NDN_CACHE_SIZE, config_set_ndn_cache_max_size,
dc8c34
 		NULL, 0,
dc8c34
-- 
dc8c34
1.9.3
dc8c34