summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 15:24:40 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commitb23539e420b9962ad3bfd8f305b9d5acf47e7efb (patch)
tree666dad57e8cc8c166eddd4b4ba5b865322fae309 /src/tools
parenta5a4e5b4836fdd693bab6e1c7f9d633d1440447d (diff)
downloadsssd-b23539e420b9962ad3bfd8f305b9d5acf47e7efb.tar.gz
sssd-b23539e420b9962ad3bfd8f305b9d5acf47e7efb.tar.bz2
sssd-b23539e420b9962ad3bfd8f305b9d5acf47e7efb.zip
Add domain to sysdb_search_group_by_name()
Also remove unused sysdb_search_domgroup_by_name()
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_groupshow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/sss_groupshow.c b/src/tools/sss_groupshow.c
index f79df935..93e0acba 100644
--- a/src/tools/sss_groupshow.c
+++ b/src/tools/sss_groupshow.c
@@ -333,7 +333,7 @@ int group_show(TALLOC_CTX *mem_ctx,
int i;
/* First, search for the root group */
- ret = sysdb_search_group_by_name(mem_ctx, sysdb, name, attrs, &msg);
+ ret = sysdb_search_group_by_name(mem_ctx, sysdb, domain, name, attrs, &msg);
if (ret) {
DEBUG(2, ("Search failed: %s (%d)\n", strerror(ret), ret));
goto done;
@@ -505,8 +505,8 @@ int group_show_recurse(TALLOC_CTX *mem_ctx,
continue;
}
- ret = sysdb_search_group_by_name(mem_ctx, sysdb, group_members[i],
- attrs, &msg);
+ ret = sysdb_search_group_by_name(mem_ctx, sysdb, domain,
+ group_members[i], attrs, &msg);
if (ret) {
DEBUG(2, ("Search failed: %s (%d)\n", strerror(ret), ret));
return EIO;