[SSSD] [PATCH] Fix invalidating autofs maps

Jakub Hrozek jhrozek at redhat.com
Sun Jan 13 13:37:06 UTC 2013


Attached is a 1.9 backport of the fix on Simo's behalf as he wrote the
fix in master.
-------------- next part --------------
>From 108ad601d2d574daa7622c91604b315e349b009d Mon Sep 17 00:00:00 2001
From: Simo Sorce <simo at redhat.com>
Date: Sun, 13 Jan 2013 14:31:29 +0100
Subject: [PATCH] Fix invalidating autofs maps

---
 src/tools/sss_cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index a22201e91236a4f496d2e3bdb41945456d240c06..a76b31fdeec19af2d8d8a465b220e5d631e346f9 100644
--- a/src/tools/sss_cache.c
+++ b/src/tools/sss_cache.c
@@ -279,7 +279,7 @@ static errno_t update_all_filters(struct cache_tool_ctx *tctx,
     /* Update autofs filter */
     ret = update_filter(tctx, domain_name, tctx->autofs_name,
                         tctx->update_autofs_filter,
-                        "(&(objectclass=%s)(%s=%s))",
+                        "(&(objectclass="SYSDB_AUTOFS_MAP_OC")(%s=%s))",
                         &tctx->autofs_filter);
     if (ret != EOK) {
         return ret;
-- 
1.8.0.2



More information about the sssd-devel mailing list