Add PAM_CRED_ERR as valid failure case

This commit is contained in:
ache 2002-01-19 09:01:17 +00:00
parent e3c12ab5a7
commit 46e8d91448
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;