comparison options.h @ 573:d3ea8b9672f0

- Test for pam_fail_delay() function in configure - Recognise "username:" as a PAM prompt - Add some randomness to the auth-failure delay - Fix wrongly committed options.h/debug.h
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 Sep 2009 14:53:53 +0000
parents 005530560594
children e001bd424f12
comparison
equal deleted inserted replaced
572:8fd0ac8c8cab 573:d3ea8b9672f0
165 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). 165 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c).
166 * It's useful for systems like OS X where standard password crypts don't work, 166 * It's useful for systems like OS X where standard password crypts don't work,
167 * but there's an interface via a PAM module - don't bother using it otherwise. 167 * but there's an interface via a PAM module - don't bother using it otherwise.
168 * You can't enable both PASSWORD and PAM. */ 168 * You can't enable both PASSWORD and PAM. */
169 169
170 /*#define ENABLE_SVR_PASSWORD_AUTH*/ 170 #define ENABLE_SVR_PASSWORD_AUTH
171 /* PAM requires ./configure --enable-pam */ 171 /* PAM requires ./configure --enable-pam */
172 #define ENABLE_SVR_PAM_AUTH 172 /*#define ENABLE_SVR_PAM_AUTH*/
173 #define ENABLE_SVR_PUBKEY_AUTH 173 #define ENABLE_SVR_PUBKEY_AUTH
174 174
175 /* Whether to take public key options in 175 /* Whether to take public key options in
176 * authorized_keys file into account */ 176 * authorized_keys file into account */
177 #ifdef ENABLE_SVR_PUBKEY_AUTH 177 #ifdef ENABLE_SVR_PUBKEY_AUTH