diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-21 13:23:30 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-21 16:09:41 +0100 |
commit | 7a92ae1598735ff69e36c72a7be60292ccad41d3 (patch) | |
tree | a30e457879c93bd459ff415ed044428b81e0a5b9 /src/tools/tools_util.h | |
parent | 2234d49c8a307ee4f11cc544c862a359f76b44ad (diff) | |
download | sssd-7a92ae1598735ff69e36c72a7be60292ccad41d3.tar.gz sssd-7a92ae1598735ff69e36c72a7be60292ccad41d3.tar.bz2 sssd-7a92ae1598735ff69e36c72a7be60292ccad41d3.zip |
TOOLS: invalidate parent groups in memory cache, too
https://fedorahosted.org/sssd/ticket/1775
In addition to invalidating the group being added to when adding a
member group/user, we also need to invalidate all its parent groups,
otherwise this getgrnam("parent") wouldn't report the members newly
added to its child groups.
Diffstat (limited to 'src/tools/tools_util.h')
-rw-r--r-- | src/tools/tools_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h index 3554a182..47bf3876 100644 --- a/src/tools/tools_util.h +++ b/src/tools/tools_util.h @@ -111,7 +111,8 @@ errno_t sss_memcache_clear_all(void); errno_t sss_mc_refresh_user(const char *username); errno_t sss_mc_refresh_group(const char *groupname); -errno_t sss_mc_refresh_grouplist(char **groupnames); +errno_t sss_mc_refresh_grouplist(struct tools_ctx *tctx, + char **groupnames); /* from files.c */ int remove_tree(const char *root); |