summaryrefslogtreecommitdiffstats
path: root/src/providers/simple
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 16:47:59 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit5d72a91a37273c8c874640906fd2f7a70e606812 (patch)
tree5f8c23d7add8be23cbb23c05cfac04194254db16 /src/providers/simple
parentb23539e420b9962ad3bfd8f305b9d5acf47e7efb (diff)
downloadsssd-5d72a91a37273c8c874640906fd2f7a70e606812.tar.gz
sssd-5d72a91a37273c8c874640906fd2f7a70e606812.tar.xz
sssd-5d72a91a37273c8c874640906fd2f7a70e606812.zip
Add domain to sysdb_search_group_by_gid()
Also remove unused sysdb_search_domgroup_by_gid()
Diffstat (limited to 'src/providers/simple')
-rw-r--r--src/providers/simple/simple_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/simple/simple_access.c b/src/providers/simple/simple_access.c
index 05388af49..f7f9192e3 100644
--- a/src/providers/simple/simple_access.c
+++ b/src/providers/simple/simple_access.c
@@ -155,7 +155,7 @@ errno_t simple_access_check(struct simple_ctx *ctx, const char *username,
}
talloc_zfree(msg);
- ret = sysdb_search_group_by_gid(tmp_ctx, ctx->sysdb,
+ ret = sysdb_search_group_by_gid(tmp_ctx, ctx->sysdb, ctx->domain,
gid, group_attrs, &msg);
if (ret != EOK) {
DEBUG(1, ("Could not look up primary group [%lu]: [%d][%s]\n",