From a63aee266c6d41216c606c2efa459f9477875cc7 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Thu, 1 Dec 2011 05:03:56 -0500 Subject: 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 --- src/sss_client/pam_sss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit