summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 17:24:07 -0500
committerSimo Sorce <simo@redhat.com>2013-01-11 10:43:10 -0500
commit25d7d4dcf778a38f38c6c531f9323596f98c0a7a (patch)
tree7899dcbaf3f4835ba0608b2a9a2cbc942d55aa30 /src/providers
parent87cf33df962e48a39514d037ddc514ff11081db6 (diff)
downloadsssd-25d7d4dcf778a38f38c6c531f9323596f98c0a7a.tar.gz
sssd-25d7d4dcf778a38f38c6c531f9323596f98c0a7a.tar.xz
sssd-25d7d4dcf778a38f38c6c531f9323596f98c0a7a.zip
Pass domain to sysdb_get<pwu/grg><id() functions
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/proxy/proxy_id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c
index aa98507b1..76f279551 100644
--- a/src/providers/proxy/proxy_id.c
+++ b/src/providers/proxy/proxy_id.c
@@ -95,7 +95,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, uid, &cached_pwd);
+ ret = sysdb_getpwuid(tmpctx, sysdb, dom, uid, &cached_pwd);
if (ret != EOK) {
/* Non-fatal, attempt to canonicalize online */
DEBUG(SSSDBG_TRACE_FUNC, ("Request to cache failed [%d]: %s\n",
@@ -819,7 +819,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, gid, &cached_grp);
+ ret = sysdb_getgrgid(tmpctx, sysdb, dom, gid, &cached_grp);
if (ret != EOK) {
/* Non-fatal, attempt to canonicalize online */
DEBUG(SSSDBG_TRACE_FUNC, ("Request to cache failed [%d]: %s\n",
@@ -1183,7 +1183,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, uid, &cached_pwd);
+ ret = sysdb_getpwuid(tmpctx, sysdb, dom, uid, &cached_pwd);
if (ret != EOK) {
/* Non-fatal, attempt to canonicalize online */
DEBUG(SSSDBG_TRACE_FUNC, ("Request to cache failed [%d]: %s\n",