version 1.46.2.2, 2004/08/19 22:37:30 |
version 1.47, 2003/09/23 20:17:11 |
|
|
int valid; /* user exists and is allowed to login */ |
int valid; /* user exists and is allowed to login */ |
int attempt; |
int attempt; |
int failures; |
int failures; |
int force_pwchange; |
|
char *user; /* username sent by the client */ |
char *user; /* username sent by the client */ |
char *service; |
char *service; |
struct passwd *pw; /* set if 'valid' */ |
struct passwd *pw; /* set if 'valid' */ |
|
|
int |
int |
auth_rhosts2(struct passwd *, const char *, const char *, const char *); |
auth_rhosts2(struct passwd *, const char *, const char *, const char *); |
|
|
int auth_rhosts_rsa(Authctxt *, char *, Key *); |
int auth_rhosts_rsa(struct passwd *, char *, Key *); |
int auth_password(Authctxt *, const char *); |
int auth_password(Authctxt *, const char *); |
int auth_rsa(Authctxt *, BIGNUM *); |
int auth_rsa(struct passwd *, BIGNUM *); |
int auth_rsa_challenge_dialog(Key *); |
int auth_rsa_challenge_dialog(Key *); |
BIGNUM *auth_rsa_generate_challenge(Key *); |
BIGNUM *auth_rsa_generate_challenge(Key *); |
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); |
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); |
|
|
|
|
struct passwd *fakepw(void); |
struct passwd *fakepw(void); |
|
|
|
#define AUTH_FAIL_MAX 6 |
|
#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) |
#define AUTH_FAIL_MSG "Too many authentication failures for %.100s" |
#define AUTH_FAIL_MSG "Too many authentication failures for %.100s" |
|
|
#define SKEY_PROMPT "\nS/Key Password: " |
#define SKEY_PROMPT "\nS/Key Password: " |