From 5d72a91a37273c8c874640906fd2f7a70e606812 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 7 Jan 2013 16:47:59 -0500 Subject: Add domain to sysdb_search_group_by_gid() Also remove unused sysdb_search_domgroup_by_gid() --- src/providers/simple/simple_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/simple') 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", -- cgit