summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_groupshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/sss_groupshow.c')
-rw-r--r--src/tools/sss_groupshow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/sss_groupshow.c b/src/tools/sss_groupshow.c
index 93e0acbae..56adf2a06 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;