From b3292840ebaa747a9fd596ff47cc5d18198361d0 Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Tue, 8 Oct 2013 15:13:58 +0200 Subject: SYSDB: Drop the sysdb_ctx parameter from the sysdb_search module --- src/providers/proxy/proxy_id.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/providers/proxy') diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c index 963aad2d0..a0db2e56d 100644 --- a/src/providers/proxy/proxy_id.c +++ b/src/providers/proxy/proxy_id.c @@ -100,7 +100,7 @@ static int get_pw_name(TALLOC_CTX *mem_ctx, /* Canonicalize the username in case it was actually an alias */ if (ctx->fast_alias == true) { - ret = sysdb_getpwuid(tmpctx, sysdb, dom, uid, &cached_pwd); + ret = sysdb_getpwuid(tmpctx, dom, uid, &cached_pwd); if (ret != EOK) { /* Non-fatal, attempt to canonicalize online */ DEBUG(SSSDBG_TRACE_FUNC, ("Request to cache failed [%d]: %s\n", @@ -836,7 +836,7 @@ static int get_gr_name(TALLOC_CTX *mem_ctx, /* Canonicalize the group name in case it was actually an alias */ if (ctx->fast_alias == true) { - ret = sysdb_getgrgid(tmpctx, sysdb, dom, gid, &cached_grp); + ret = sysdb_getgrgid(tmpctx, dom, gid, &cached_grp); if (ret != EOK) { /* Non-fatal, attempt to canonicalize online */ DEBUG(SSSDBG_TRACE_FUNC, ("Request to cache failed [%d]: %s\n", @@ -1206,7 +1206,7 @@ static int get_initgr(TALLOC_CTX *mem_ctx, /* Canonicalize the username in case it was actually an alias */ if (ctx->fast_alias == true) { - ret = sysdb_getpwuid(tmpctx, sysdb, dom, uid, &cached_pwd); + ret = sysdb_getpwuid(tmpctx, dom, uid, &cached_pwd); if (ret != EOK) { /* Non-fatal, attempt to canonicalize online */ DEBUG(SSSDBG_TRACE_FUNC, ("Request to cache failed [%d]: %s\n", -- cgit