diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 23:59:17 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:02 +0100 |
commit | 2ca23577d3a25aead24ba759a1f6f67ffc24decf (patch) | |
tree | 8651a1d54846d8a3ccfa52e66953982dd9727c67 /src/providers | |
parent | 80c6afa474d8a1e0198832bddfe5da75a9818b29 (diff) | |
download | sssd-2ca23577d3a25aead24ba759a1f6f67ffc24decf.tar.gz sssd-2ca23577d3a25aead24ba759a1f6f67ffc24decf.tar.bz2 sssd-2ca23577d3a25aead24ba759a1f6f67ffc24decf.zip |
Add domain argument to sysdb_remove_attrs()
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, |