summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_cache.c3
-rw-r--r--src/tools/sss_groupshow.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index 0c6112cc..c974a28b 100644
--- a/src/tools/sss_cache.c
+++ b/src/tools/sss_cache.c
@@ -297,7 +297,8 @@ static bool invalidate_entries(TALLOC_CTX *ctx,
break;
case TYPE_GROUP:
type_string = "group";
- ret = sysdb_search_groups(ctx, sysdb, filter, attrs, &msg_count, &msgs);
+ ret = sysdb_search_groups(ctx, sysdb, dinfo,
+ filter, attrs, &msg_count, &msgs);
break;
case TYPE_NETGROUP:
type_string = "netgroup";
diff --git a/src/tools/sss_groupshow.c b/src/tools/sss_groupshow.c
index 93e0acba..56adf2a0 100644
--- a/src/tools/sss_groupshow.c
+++ b/src/tools/sss_groupshow.c
@@ -437,7 +437,8 @@ static int group_show_trim_memberof(TALLOC_CTX *mem_ctx,
return ENOMEM;
}
- ret = sysdb_search_groups(mem_ctx, sysdb, filter, NULL, &count, &msgs);
+ ret = sysdb_search_groups(mem_ctx, sysdb, domain,
+ filter, NULL, &count, &msgs);
/* ENOENT is OK, the group is just not a direct parent */
if (ret != EOK && ret != ENOENT) {
return ret;