version 1.41, 2002/09/26 11:38:43 |
version 1.42, 2003/04/16 14:35:27 |
|
|
|
|
struct Authctxt { |
struct Authctxt { |
int success; |
int success; |
int postponed; |
int postponed; /* authentication needs another step */ |
int valid; |
int valid; /* user exists and is allowed to login */ |
int attempt; |
int attempt; |
int failures; |
int failures; |
char *user; |
char *user; /* username sent by the client */ |
char *service; |
char *service; |
struct passwd *pw; |
struct passwd *pw; /* set if 'valid' */ |
char *style; |
char *style; |
void *kbdintctxt; |
void *kbdintctxt; |
#ifdef BSD_AUTH |
#ifdef BSD_AUTH |
|
|
char *krb5_ticket_file; |
char *krb5_ticket_file; |
#endif |
#endif |
}; |
}; |
|
/* |
|
* Every authentication method has to handle authentication requests for |
|
* non-existing users, or for users that are not allowed to login. In this |
|
* case 'valid' is set to 0, but 'user' points to the username requested by |
|
* the client. |
|
*/ |
|
|
struct Authmethod { |
struct Authmethod { |
char *name; |
char *name; |