summaryrefslogtreecommitdiff
path: root/src/tools
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
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')
-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;