Add PAM_CRED_ERR as valid failure case
This commit is contained in:
parent
e04359cdac
commit
3e4f7c7f99
@ -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