diff options
Diffstat (limited to 'server/responder/pam/pam_LOCAL_domain.c')
-rw-r--r-- | server/responder/pam/pam_LOCAL_domain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/responder/pam/pam_LOCAL_domain.c b/server/responder/pam/pam_LOCAL_domain.c index c307a1b9..49a06ff3 100644 --- a/server/responder/pam/pam_LOCAL_domain.c +++ b/server/responder/pam/pam_LOCAL_domain.c @@ -377,12 +377,12 @@ int LOCAL_pam_handler(struct cli_ctx *cctx, pam_dp_callback_t callback, DEBUG(4, ("LOCAL pam handler.\n")); - lreq->domain_info = btreemap_get_value(lreq->cctx->nctx->domain_map, + lreq->domain_info = btreemap_get_value(lreq->cctx->rctx->domain_map, lreq->pd->domain); NULL_CHECK_OR_JUMP(lreq->domain_info, ("Domain info not found.\n"), ret, EINVAL, done); - lreq->dbctx = lreq->cctx->nctx->sysdb; + lreq->dbctx = lreq->cctx->rctx->sysdb; ret = sysdb_get_user_attr(lreq, lreq->dbctx, lreq->domain_info, lreq->pd->user, attrs, |