generic-poky/meta/recipes-core/dropbear/dropbear-2013.60/0005-dropbear-enable-pam.patch

32 lines
788 B
Diff

Subject: [PATCH 5/6] dropbear enable pam
dropbear: We need modify file option.h besides enabling pam in \
configure if we want dropbear to support pam.
Upstream-Status: Pending
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
options.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/options.h b/options.h
index 71a21c2..305f789 100644
--- a/options.h
+++ b/options.h
@@ -174,9 +174,9 @@ much traffic. */
* PAM challenge/response.
* You can't enable both PASSWORD and PAM. */
-#define ENABLE_SVR_PASSWORD_AUTH
+//#define ENABLE_SVR_PASSWORD_AUTH
/* PAM requires ./configure --enable-pam */
-//#define ENABLE_SVR_PAM_AUTH
+#define ENABLE_SVR_PAM_AUTH
#define ENABLE_SVR_PUBKEY_AUTH
/* Whether to take public key options in
--
1.7.11.7