summaryrefslogtreecommitdiffstats
path: root/src/monitor
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-29 15:24:34 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-08 11:13:41 +0200
commit3f6771275918477e2686063a1c08835d5aaae245 (patch)
treeafa690ccba59c91f60b0520d22f2ddd6efecb1f9 /src/monitor
parent6eb816852316f878e5c7aaac9b4ec7578621852a (diff)
downloadsssd-3f6771275918477e2686063a1c08835d5aaae245.tar.gz
sssd-3f6771275918477e2686063a1c08835d5aaae245.tar.xz
sssd-3f6771275918477e2686063a1c08835d5aaae245.zip
NSS: Clear cached netgroups if a request comes in from the sss_cachesssd-1.9.2-97.el6
In order for sss_cache to work correctly, we must also signal the nss responder to invalidate the hash table requests. https://fedorahosted.org/sssd/ticket/1759
Diffstat (limited to 'src/monitor')
-rw-r--r--src/monitor/monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index 86125241d..bf729e653 100644
--- a/src/monitor/monitor.c
+++ b/src/monitor/monitor.c
@@ -1349,6 +1349,7 @@ static void monitor_hup(struct tevent_context *ev,
service_signal_rotate(cur_svc);
if (!strcmp(NSS_SBUS_SERVICE_NAME, cur_svc->name)) {
service_signal_clear_memcache(cur_svc);
+ service_signal_clear_enum_cache(cur_svc);
}
if (!strcmp(SSS_AUTOFS_SBUS_SERVICE_NAME, cur_svc->name)) {