summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_seed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/sss_seed.c')
-rw-r--r--src/tools/sss_seed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/sss_seed.c b/src/tools/sss_seed.c
index 5e4504e0a..846a44723 100644
--- a/src/tools/sss_seed.c
+++ b/src/tools/sss_seed.c
@@ -752,7 +752,7 @@ static int seed_cache_user(struct seed_ctx *sctx)
}
}
- ret = sysdb_cache_password(sctx->sysdb, sctx->uctx->name,
+ ret = sysdb_cache_password(sctx->sysdb, sctx->domain, sctx->uctx->name,
sctx->uctx->password);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE, ("Failed to cache password. (%d)[%s]\n",