summaryrefslogtreecommitdiff
path: root/src/responder/nss/nsssrv_private.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-12-05 17:40:44 +0000
committerJakub Hrozek <jhrozek@redhat.com>2012-12-05 23:01:37 +0100
commit408914f68673f2caa1c82a1a21336fcb7ddd52ef (patch)
treee74c7501cb9a30b1aa6c4e421fad66befdb1d6f4 /src/responder/nss/nsssrv_private.h
parentebba1aa6b9783daa0d530e9f5e307f7be17d3cd3 (diff)
downloadsssd-408914f68673f2caa1c82a1a21336fcb7ddd52ef.tar.gz
sssd-408914f68673f2caa1c82a1a21336fcb7ddd52ef.tar.bz2
sssd-408914f68673f2caa1c82a1a21336fcb7ddd52ef.zip
Hook for mmap cache update on initgroup calls
This set of functions enumerate the user's groups and invalidate them all if the list does not matches what we get from the caller.
Diffstat (limited to 'src/responder/nss/nsssrv_private.h')
-rw-r--r--src/responder/nss/nsssrv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_private.h b/src/responder/nss/nsssrv_private.h
index c5889311..5e614d20 100644
--- a/src/responder/nss/nsssrv_private.h
+++ b/src/responder/nss/nsssrv_private.h
@@ -125,5 +125,8 @@ errno_t check_cache(struct nss_dom_ctx *dctx,
void nss_update_pw_memcache(struct nss_ctx *nctx);
void nss_update_gr_memcache(struct nss_ctx *nctx);
+void nss_update_initgr_memcache(struct nss_ctx *nctx,
+ const char *name, const char *domain,
+ int gnum, uint32_t *groups);
#endif /* NSSSRV_PRIVATE_H_ */