diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-12-01 05:03:56 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-08 12:02:32 -0500 |
commit | a63aee266c6d41216c606c2efa459f9477875cc7 (patch) | |
tree | d988b8c1169e9e63beffb413978607d8eb6af9e8 /src | |
parent | d3da1c165cdb4c1ec126a8f4b6b544ca415b9d20 (diff) | |
download | sssd2-a63aee266c6d41216c606c2efa459f9477875cc7.tar.gz sssd2-a63aee266c6d41216c606c2efa459f9477875cc7.tar.xz sssd2-a63aee266c6d41216c606c2efa459f9477875cc7.zip |
Fixed incorrect return code in PAM client
The original return code when SSSD was not running was system_err, now
it is authinfo_unavail.
https://fedorahosted.org/sssd/ticket/1011
Diffstat (limited to 'src')
-rw-r--r-- | src/sss_client/pam_sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c index 0f30e185..582a96f7 100644 --- a/src/sss_client/pam_sss.c +++ b/src/sss_client/pam_sss.c @@ -1086,7 +1086,7 @@ static int send_and_receive(pam_handle_t *pamh, struct pam_items *pi, if (errnop != 0) { logger(pamh, LOG_ERR, "Request to sssd failed. %s", ssscli_err2string(errnop)); } - pam_status = PAM_SYSTEM_ERR; + pam_status = PAM_AUTHINFO_UNAVAIL; goto done; } |