Add PAM_CRED_ERR as valid failure case

This commit is contained in:
Andrey A. Chernov 2002-01-19 09:01:17 +00:00
parent e04359cdac
commit 3e4f7c7f99
2 changed files with 2 additions and 0 deletions

View File

@ -1190,6 +1190,7 @@ auth_pam(struct passwd **ppw, const char *pass)
break;
case PAM_AUTH_ERR:
case PAM_CRED_ERR:
case PAM_USER_UNKNOWN:
case PAM_MAXTRIES:
rval = 1;

View File

@ -802,6 +802,7 @@ auth_pam()
break;
case PAM_AUTH_ERR:
case PAM_CRED_ERR:
case PAM_USER_UNKNOWN:
case PAM_MAXTRIES:
rval = 1;