diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-06 17:54:02 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | 5d78919c955c945e78865f322726aac075c71203 (patch) | |
tree | d351a11ffe460d1e7a32a6b1d629a1f62eb792b1 /src/responder | |
parent | c3ca06c011a34997cd6ec5d1e5927fee12bf2464 (diff) | |
download | sssd-5d78919c955c945e78865f322726aac075c71203.tar.gz sssd-5d78919c955c945e78865f322726aac075c71203.tar.bz2 sssd-5d78919c955c945e78865f322726aac075c71203.zip |
Add domain argument to sysdb_get_user_attr()
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/pam/pam_LOCAL_domain.c | 4 | ||||
-rw-r--r-- | src/responder/ssh/sshsrv_cmd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/responder/pam/pam_LOCAL_domain.c b/src/responder/pam/pam_LOCAL_domain.c index 23eb7a2a..a903fea9 100644 --- a/src/responder/pam/pam_LOCAL_domain.c +++ b/src/responder/pam/pam_LOCAL_domain.c @@ -243,8 +243,8 @@ int LOCAL_pam_handler(struct pam_auth_req *preq) pd->pam_status = PAM_SUCCESS; - ret = sysdb_get_user_attr(lreq, lreq->dbctx, preq->pd->user, - attrs, &res); + ret = sysdb_get_user_attr(lreq, lreq->dbctx, preq->domain, + preq->pd->user, attrs, &res); if (ret != EOK) { DEBUG(1, ("sysdb_get_user_attr failed.\n")); talloc_free(lreq); diff --git a/src/responder/ssh/sshsrv_cmd.c b/src/responder/ssh/sshsrv_cmd.c index 687e8887..5b029262 100644 --- a/src/responder/ssh/sshsrv_cmd.c +++ b/src/responder/ssh/sshsrv_cmd.c @@ -232,7 +232,7 @@ ssh_user_pubkeys_search_next(struct ssh_cmd_ctx *cmd_ctx) return EFAULT; } - ret = sysdb_get_user_attr(cmd_ctx, sysdb, + ret = sysdb_get_user_attr(cmd_ctx, sysdb, cmd_ctx->domain, cmd_ctx->name, attrs, &res); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, |