summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_cache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index afdff791..15dcf7e1 100644
--- a/src/tools/sss_cache.c
+++ b/src/tools/sss_cache.c
@@ -307,7 +307,8 @@ static bool invalidate_entries(TALLOC_CTX *ctx,
break;
case TYPE_SERVICE:
type_string = "service";
- ret = sysdb_search_services(ctx, sysdb, filter, attrs, &msg_count, &msgs);
+ ret = sysdb_search_services(ctx, sysdb, dinfo,
+ filter, attrs, &msg_count, &msgs);
break;
case TYPE_AUTOFSMAP:
type_string = "autofs map";
@@ -378,7 +379,7 @@ static errno_t invalidate_entry(TALLOC_CTX *ctx, struct sysdb_ctx *sysdb,
sys_attrs, SYSDB_MOD_REP);
break;
case TYPE_SERVICE:
- ret = sysdb_set_service_attr(sysdb, name,
+ ret = sysdb_set_service_attr(sysdb, domain, name,
sys_attrs, SYSDB_MOD_REP);
break;
case TYPE_AUTOFSMAP: