Mercurial > dropbear
comparison options.h @ 925:bae0b34bc059 pam
Better PAM through recursion
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 12 Mar 2014 23:40:02 +0800 |
parents | 49ed526daedc |
children | 73ea0dce9a57 |
comparison
equal
deleted
inserted
replaced
923:25b7ed9fe854 | 925:bae0b34bc059 |
---|---|
183 #endif | 183 #endif |
184 | 184 |
185 /* Authentication Types - at least one required. | 185 /* Authentication Types - at least one required. |
186 RFC Draft requires pubkey auth, and recommends password */ | 186 RFC Draft requires pubkey auth, and recommends password */ |
187 | 187 |
188 /* Note: PAM auth is quite simple and only works for PAM modules which just do | |
189 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). | |
190 * It's useful for systems like OS X where standard password crypts don't work | |
191 * but there's an interface via a PAM module. It won't work for more complex | |
192 * PAM challenge/response. | |
193 * You can't enable both PASSWORD and PAM. */ | |
194 | |
195 #define ENABLE_SVR_PASSWORD_AUTH | 188 #define ENABLE_SVR_PASSWORD_AUTH |
196 /* PAM requires ./configure --enable-pam */ | 189 /* PAM requires ./configure --enable-pam */ |
197 /*#define ENABLE_SVR_PAM_AUTH */ | 190 #define ENABLE_SVR_PAM_AUTH |
198 #define ENABLE_SVR_PUBKEY_AUTH | 191 #define ENABLE_SVR_PUBKEY_AUTH |
199 | 192 |
200 /* Whether to take public key options in | 193 /* Whether to take public key options in |
201 * authorized_keys file into account */ | 194 * authorized_keys file into account */ |
202 #ifdef ENABLE_SVR_PUBKEY_AUTH | 195 #ifdef ENABLE_SVR_PUBKEY_AUTH |