Add PAM_CRED_ERR as valid failure case
This commit is contained in:
parent
e3c12ab5a7
commit
46e8d91448
@ -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;
|
||||
|
@ -802,6 +802,7 @@ auth_pam()
|
||||
break;
|
||||
|
||||
case PAM_AUTH_ERR:
|
||||
case PAM_CRED_ERR:
|
||||
case PAM_USER_UNKNOWN:
|
||||
case PAM_MAXTRIES:
|
||||
rval = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user