summaryrefslogtreecommitdiff
path: root/src/tools/sss_groupshow.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 23:33:45 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:02 +0100
commit2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d (patch)
treec9e974ed04bd166b4dbab9dde3a6ae6442927a45 /src/tools/sss_groupshow.c
parent3412d14d65490c32414e72ac20fe21bad53ceb45 (diff)
downloadsssd-2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d.tar.gz
sssd-2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d.tar.bz2
sssd-2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d.zip
Add domain argument to sysdb_search_groups()
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 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;