summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-01-19 09:01:17 +0000
committerache <ache@FreeBSD.org>2002-01-19 09:01:17 +0000
commit46e8d9144815dc9c6cfd67923c56d8343045f523 (patch)
tree2991921d7bff1620f99adbef6bc67a0ff31a6673 /libexec
parente3c12ab5a76e90d1826c27c7ac4a14de4ee588a3 (diff)
downloadFreeBSD-src-46e8d9144815dc9c6cfd67923c56d8343045f523.zip
FreeBSD-src-46e8d9144815dc9c6cfd67923c56d8343045f523.tar.gz
Add PAM_CRED_ERR as valid failure case
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c1
1 files changed, 1 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;
OpenPOWER on IntegriCloud