summaryrefslogtreecommitdiffstats
path: root/src/tools/tools_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tools_util.c')
-rw-r--r--src/tools/tools_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tools_util.c b/src/tools/tools_util.c
index 871ba2b1..fbb1d81b 100644
--- a/src/tools/tools_util.c
+++ b/src/tools/tools_util.c
@@ -268,7 +268,7 @@ int init_sss_tools(struct tools_ctx **_tctx)
goto fini;
}
- ret = sss_names_init(tctx, tctx->confdb, &tctx->snctx);
+ ret = sss_names_init(tctx, tctx->confdb, tctx->local->name, &tctx->snctx);
if (ret != EOK) {
DEBUG(1, ("Could not set up parsing\n"));
goto fini;