diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-07-29 15:24:34 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-08 11:13:41 +0200 |
commit | 3f6771275918477e2686063a1c08835d5aaae245 (patch) | |
tree | afa690ccba59c91f60b0520d22f2ddd6efecb1f9 /src/responder/nss/nsssrv_netgroup.h | |
parent | 6eb816852316f878e5c7aaac9b4ec7578621852a (diff) | |
download | sssd-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/responder/nss/nsssrv_netgroup.h')
-rw-r--r-- | src/responder/nss/nsssrv_netgroup.h | 3 |
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_ */ |