summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_netgroup.h
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 00:38:31 +0200
commitdb440b3ba6b848010cf2a1fe9f76db394ce860da (patch)
treeb0ff5035e0bde88366c2b96bf87a5d3c60e52483 /src/responder/nss/nsssrv_netgroup.h
parentada4d12f2e625ad553c6944b7d84bff144c31398 (diff)
downloadsssd-db440b3ba6b848010cf2a1fe9f76db394ce860da.tar.gz
sssd-db440b3ba6b848010cf2a1fe9f76db394ce860da.tar.xz
sssd-db440b3ba6b848010cf2a1fe9f76db394ce860da.zip
NSS: Clear cached netgroups if a request comes in from the sss_cache
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/responder/nss/nsssrv_netgroup.h')
-rw-r--r--src/responder/nss/nsssrv_netgroup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_netgroup.h b/src/responder/nss/nsssrv_netgroup.h
index a909abed3..ddeb35df6 100644
--- a/src/responder/nss/nsssrv_netgroup.h
+++ b/src/responder/nss/nsssrv_netgroup.h
@@ -33,4 +33,7 @@ int nss_cmd_endnetgrent(struct cli_ctx *cctx);
void netgroup_hash_delete_cb(hash_entry_t *item,
hash_destroy_enum deltype, void *pvt);
+
+errno_t nss_orphan_netgroups(struct nss_ctx *nctx);
+
#endif /* NSSRV_NETGROUP_H_ */