diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 15:24:40 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | b23539e420b9962ad3bfd8f305b9d5acf47e7efb (patch) | |
tree | 666dad57e8cc8c166eddd4b4ba5b865322fae309 /src/tools | |
parent | a5a4e5b4836fdd693bab6e1c7f9d633d1440447d (diff) | |
download | sssd-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.c | 6 |
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; |