diff options
author | Sumit Bose <sbose@redhat.com> | 2014-10-15 12:59:08 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-20 16:15:29 +0200 |
commit | c2788a00c49b14fc56690af93dc1ac60d6ee6c70 (patch) | |
tree | f8972e53162a7fe73aa520d11ba77457a5067205 | |
parent | a983272f1afa8dbae3ecd4425b04649601732a71 (diff) | |
download | sssd-c2788a00c49b14fc56690af93dc1ac60d6ee6c70.tar.gz sssd-c2788a00c49b14fc56690af93dc1ac60d6ee6c70.tar.xz sssd-c2788a00c49b14fc56690af93dc1ac60d6ee6c70.zip |
pam: make pam responder aware if views
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
-rw-r--r-- | src/responder/pam/pamsrv_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/pam/pamsrv_cmd.c b/src/responder/pam/pamsrv_cmd.c index ffec17b46..dd0e6e4cf 100644 --- a/src/responder/pam/pamsrv_cmd.c +++ b/src/responder/pam/pamsrv_cmd.c @@ -1123,7 +1123,7 @@ static int pam_check_user_search(struct pam_auth_req *preq) if (preq->pd->name_is_upn) { ret = sysdb_search_user_by_upn(preq, dom, name, user_attrs, &msg); } else { - ret = sysdb_getpwnam(preq, dom, name, &res); + ret = sysdb_getpwnam_with_views(preq, dom, name, &res); if (res->count > 1) { DEBUG(SSSDBG_FATAL_FAILURE, "getpwnam call returned more than one result !?!\n"); |