summaryrefslogtreecommitdiffstats
path: root/kcheckpass
diff options
context:
space:
mode:
Diffstat (limited to 'kcheckpass')
-rw-r--r--kcheckpass/checkpass_pam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kcheckpass/checkpass_pam.c b/kcheckpass/checkpass_pam.c
index 44758b696..7a35eeddf 100644
--- a/kcheckpass/checkpass_pam.c
+++ b/kcheckpass/checkpass_pam.c
@@ -177,6 +177,8 @@ AuthReturn Authenticate(const char *caller, const char *method,
case PAM_MAXTRIES: /* should handle this better ... */
case PAM_AUTHINFO_UNAVAIL: /* returned for unknown users ... bogus */
return AuthBad;
+ case PAM_SERVICE_ERR:
+ return AuthError;
default:
return AuthError;
}