summaryrefslogtreecommitdiff
path: root/server/responder/pam/pam_LOCAL_domain.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-03-09 23:26:27 -0400
committerSimo Sorce <ssorce@redhat.com>2009-03-09 23:26:27 -0400
commit68303b58587b0e82efb1c57d96e89578e5290867 (patch)
tree549cf24553ff4be1ebc49e9a9f9bdc2cf2427fa4 /server/responder/pam/pam_LOCAL_domain.c
parent92bb11b3570c0ce1de84824d9697fa45422feb0b (diff)
downloadsssd-68303b58587b0e82efb1c57d96e89578e5290867.tar.gz
sssd-68303b58587b0e82efb1c57d96e89578e5290867.tar.bz2
sssd-68303b58587b0e82efb1c57d96e89578e5290867.zip
Always pass sss_domain_info to sysdb functions.
Diffstat (limited to 'server/responder/pam/pam_LOCAL_domain.c')
-rw-r--r--server/responder/pam/pam_LOCAL_domain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/responder/pam/pam_LOCAL_domain.c b/server/responder/pam/pam_LOCAL_domain.c
index 90abf63e..ce74884d 100644
--- a/server/responder/pam/pam_LOCAL_domain.c
+++ b/server/responder/pam/pam_LOCAL_domain.c
@@ -418,9 +418,9 @@ int LOCAL_pam_handler(struct cli_ctx *cctx, pam_dp_callback_t callback,
lreq->dbctx = lreq->cctx->nctx->sysdb;
- ret = sysdb_get_user_attr(lreq, lreq->dbctx, lreq->domain_info->name,
- lreq->pd->user, attrs, 0, pam_handler_callback,
- lreq);
+ ret = sysdb_get_user_attr(lreq, lreq->dbctx,
+ lreq->domain_info, lreq->pd->user, attrs,
+ pam_handler_callback, lreq);
if(ret != EOK) {
DEBUG(1, ("sysdb_get_user_attr failed.\n"));