summaryrefslogtreecommitdiff
path: root/src/responder
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 17:24:07 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit2d66c2eee2e4364a52d5436b61759ef990108230 (patch)
tree0172ec34bb3775338eed05ab5f3ee5493f2f4321 /src/responder
parent58fd3aa25c5292bc67432647ab7e5059439fcc6d (diff)
downloadsssd-2d66c2eee2e4364a52d5436b61759ef990108230.tar.gz
sssd-2d66c2eee2e4364a52d5436b61759ef990108230.tar.bz2
sssd-2d66c2eee2e4364a52d5436b61759ef990108230.zip
Pass domain to sysdb_get<pwu/grg><id() functions
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/nss/nsssrv_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 7e33d922..665aaf6c 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -1095,7 +1095,7 @@ static int nss_cmd_getpwuid_search(struct nss_dom_ctx *dctx)
return EIO;
}
- ret = sysdb_getpwuid(cmdctx, sysdb, cmdctx->id, &dctx->res);
+ ret = sysdb_getpwuid(cmdctx, sysdb, dom, cmdctx->id, &dctx->res);
if (ret != EOK) {
DEBUG(1, ("Failed to make request to our cache!\n"));
return EIO;
@@ -2670,7 +2670,7 @@ static int nss_cmd_getgrgid_search(struct nss_dom_ctx *dctx)
return EIO;
}
- ret = sysdb_getgrgid(cmdctx, sysdb, cmdctx->id, &dctx->res);
+ ret = sysdb_getgrgid(cmdctx, sysdb, dom, cmdctx->id, &dctx->res);
if (ret != EOK) {
DEBUG(1, ("Failed to make request to our cache!\n"));
return EIO;