blob: 539cb12e91d4c6ff8c8ad18572f84b8b48cb8cea [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From b8cece92ba19aa77ac013ea161bfe4c7147747c9 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 2 Dec 2015 11:36:02 +0200
4Subject: Enable pam
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006We need modify file option.h besides enabling pam in
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007configure if we want dropbear to support pam.
8
9Upstream-Status: Pending
10
11Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050012Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013---
14 options.h | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017diff --git a/options.h b/options.h
18index 94261f6..90bfe2f 100644
19--- a/options.h
20+++ b/options.h
21@@ -208,10 +208,10 @@ If you test it please contact the Dropbear author */
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023 /* This requires crypt() */
24 #ifdef HAVE_CRYPT
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025-#define ENABLE_SVR_PASSWORD_AUTH
26+/*#define ENABLE_SVR_PASSWORD_AUTH*/
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027 #endif
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028 /* PAM requires ./configure --enable-pam */
29-/*#define ENABLE_SVR_PAM_AUTH */
30+#define ENABLE_SVR_PAM_AUTH
31 #define ENABLE_SVR_PUBKEY_AUTH
32
33 /* Whether to take public key options in
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050034--
352.1.4
36