summaryrefslogtreecommitdiffstats
path: root/crypto/openssh
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-07-10 23:05:13 +0000
committerdes <des@FreeBSD.org>2002-07-10 23:05:13 +0000
commited67e10a937522fd8a4465c4ce3e702372a2affd (patch)
tree12d921c5b1d4440470c8c55efed84f8474d66091 /crypto/openssh
parent1983859ac6e361a50de5d5dc45c34fe4f7344456 (diff)
downloadFreeBSD-src-ed67e10a937522fd8a4465c4ce3e702372a2affd.zip
FreeBSD-src-ed67e10a937522fd8a4465c4ce3e702372a2affd.tar.gz
Do not try to use PAM for password authentication, as it is
already (and far better) supported by the challenge/response authentication mechanism.
Diffstat (limited to 'crypto/openssh')
-rw-r--r--crypto/openssh/auth-passwd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/openssh/auth-passwd.c b/crypto/openssh/auth-passwd.c
index 17bbd2c..180df5f 100644
--- a/crypto/openssh/auth-passwd.c
+++ b/crypto/openssh/auth-passwd.c
@@ -37,12 +37,20 @@
#include "includes.h"
RCSID("$OpenBSD: auth-passwd.c,v 1.27 2002/05/24 16:45:16 stevesk Exp $");
+RCSID("$FreeBSD$");
#include "packet.h"
#include "log.h"
#include "servconf.h"
#include "auth.h"
+/*
+ * Do not try to use PAM for password authentication, as it is
+ * already (and far better) supported by the challenge/response
+ * authentication mechanism.
+ */
+#undef USE_PAM
+
#if !defined(USE_PAM) && !defined(HAVE_OSF_SIA)
/* Don't need any of these headers for the PAM or SIA cases */
# ifdef HAVE_CRYPT_H
OpenPOWER on IntegriCloud