>From 1bfb4aa4fdca90b51025ce8c9b2d526162a2e7f9 Mon Sep 17 00:00:00 2001
From: Michal Zidek <mzidek@redhat.com>
Date: Thu, 12 Sep 2013 19:45:39 +0200
Subject: [PATCH 1/2] Rename _SSS_MC_SPECIAL

If the environment variable _SSS_MC_SPECIAL is set to "NO", the
mmap cache is skipped in the client code. The name is not very
descriptive. This patch renames the variable to SSS_NSS_USE_MEMCACHE.
---
 src/sss_client/nss_mc_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sss_client/nss_mc_common.c b/src/sss_client/nss_mc_common.c
index 5d36c47..a0a70ab 100644
--- a/src/sss_client/nss_mc_common.c
+++ b/src/sss_client/nss_mc_common.c
@@ -108,8 +108,8 @@ errno_t sss_nss_mc_get_ctx(const char *name, struct sss_cli_mc_ctx *ctx)
     char *envval;
     int ret;
 
-    envval = getenv("_SSS_MC_SPECIAL");
-    if (envval && strcmp(envval, "NO") == 0) {
+    envval = getenv("SSS_NSS_USE_MEMCACHE");
+    if (envval && strcasecmp(envval, "NO") == 0) {
         return EPERM;
     }
 
-- 
1.7.11.2

