diff options
-rw-r--r-- | libexec/ftpd/ftpd.c | 1 | ||||
-rw-r--r-- | usr.bin/login/login.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 287436a..7558987 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -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; diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 59707b5..2c8fcea 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -802,6 +802,7 @@ auth_pam() break; case PAM_AUTH_ERR: + case PAM_CRED_ERR: case PAM_USER_UNKNOWN: case PAM_MAXTRIES: rval = 1; |