summaryrefslogtreecommitdiff
path: root/src/providers/proxy
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 23:59:17 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:02 +0100
commit2ca23577d3a25aead24ba759a1f6f67ffc24decf (patch)
tree8651a1d54846d8a3ccfa52e66953982dd9727c67 /src/providers/proxy
parent80c6afa474d8a1e0198832bddfe5da75a9818b29 (diff)
downloadsssd-2ca23577d3a25aead24ba759a1f6f67ffc24decf.tar.gz
sssd-2ca23577d3a25aead24ba759a1f6f67ffc24decf.tar.bz2
sssd-2ca23577d3a25aead24ba759a1f6f67ffc24decf.zip
Add domain argument to sysdb_remove_attrs()
Diffstat (limited to 'src/providers/proxy')
-rw-r--r--src/providers/proxy/proxy_services.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/providers/proxy/proxy_services.c b/src/providers/proxy/proxy_services.c
index 4f8a379b..3b79f81b 100644
--- a/src/providers/proxy/proxy_services.c
+++ b/src/providers/proxy/proxy_services.c
@@ -29,6 +29,7 @@
errno_t
proxy_save_service(struct sysdb_ctx *sysdb,
+ struct sss_domain_info *domain,
struct servent *svc,
bool lowercase,
uint64_t cache_timeout)
@@ -71,7 +72,7 @@ proxy_save_service(struct sysdb_ctx *sysdb,
goto done;
}
- ret = sysdb_store_service(sysdb,
+ ret = sysdb_store_service(sysdb, domain,
cased_name,
ntohs(svc->s_port),
cased_aliases,
@@ -120,7 +121,7 @@ get_serv_byname(struct proxy_id_ctx *ctx,
} else {
/* Results found. Save them into the cache */
- ret = proxy_save_service(sysdb, result,
+ ret = proxy_save_service(sysdb, dom, result,
!dom->case_sensitive,
dom->service_timeout);
}
@@ -173,7 +174,7 @@ get_serv_byport(struct proxy_id_ctx *ctx,
ret = sysdb_svc_delete(sysdb, NULL, port, protocol);
} else {
/* Results found. Save them into the cache */
- ret = proxy_save_service(sysdb, result,
+ ret = proxy_save_service(sysdb, dom, result,
!dom->case_sensitive,
dom->service_timeout);
}
@@ -302,7 +303,7 @@ enum_services(struct proxy_id_ctx *ctx,
break;
}
- ret = sysdb_store_service(sysdb,
+ ret = sysdb_store_service(sysdb, dom,
svc->s_name,
svc->s_port,
cased_aliases,