summaryrefslogtreecommitdiffstats
path: root/src/providers/proxy
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-08 00:59:32 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:03 +0100
commit681742138b2afbbefa7f14de937beb438409208e (patch)
tree8261b14012f0d994cfdd91005a237581ae8a400a /src/providers/proxy
parent740870643f337ce70d85f25f9ed057cd1f91028c (diff)
downloadsssd-681742138b2afbbefa7f14de937beb438409208e.tar.gz
sssd-681742138b2afbbefa7f14de937beb438409208e.tar.xz
sssd-681742138b2afbbefa7f14de937beb438409208e.zip
Add domain arguments to sysdb services functions
also fix sysdb_svc_add declarations
Diffstat (limited to 'src/providers/proxy')
-rw-r--r--src/providers/proxy/proxy_services.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/proxy/proxy_services.c b/src/providers/proxy/proxy_services.c
index 3b79f81b0..e9f3b3f5c 100644
--- a/src/providers/proxy/proxy_services.c
+++ b/src/providers/proxy/proxy_services.c
@@ -117,7 +117,7 @@ get_serv_byname(struct proxy_id_ctx *ctx,
if (status == NSS_STATUS_NOTFOUND) {
/* Make sure we remove it from the cache */
- ret = sysdb_svc_delete(sysdb, name, 0, protocol);
+ ret = sysdb_svc_delete(sysdb, dom, name, 0, protocol);
} else {
/* Results found. Save them into the cache */
@@ -171,7 +171,7 @@ get_serv_byport(struct proxy_id_ctx *ctx,
if (status == NSS_STATUS_NOTFOUND) {
/* Make sure we remove it from the cache */
- ret = sysdb_svc_delete(sysdb, NULL, port, protocol);
+ ret = sysdb_svc_delete(sysdb, dom, NULL, port, protocol);
} else {
/* Results found. Save them into the cache */
ret = proxy_save_service(sysdb, dom, result,