diff options
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async_services.c | 2 | ||||
-rw-r--r-- | src/providers/proxy/proxy_services.c | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/providers/ldap/sdap_async_services.c b/src/providers/ldap/sdap_async_services.c index 026fa13f..fd002b42 100644 --- a/src/providers/ldap/sdap_async_services.c +++ b/src/providers/ldap/sdap_async_services.c @@ -475,7 +475,7 @@ sdap_save_service(TALLOC_CTX *mem_ctx, cache_timeout = dom->service_timeout; - ret = sysdb_store_service(sysdb, name, port, aliases, store_protocols, + ret = sysdb_store_service(sysdb, dom, name, port, aliases, store_protocols, svc_attrs, missing, cache_timeout, now); if (ret != EOK) { DEBUG(SSSDBG_MINOR_FAILURE, 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, |