version 1.78, 2014/07/03 11:16:55 |
version 1.79, 2014/12/22 07:51:30 |
|
|
#include <krb5.h> |
#include <krb5.h> |
#endif |
#endif |
|
|
|
struct sshkey; |
|
|
typedef struct Authctxt Authctxt; |
typedef struct Authctxt Authctxt; |
typedef struct Authmethod Authmethod; |
typedef struct Authmethod Authmethod; |
typedef struct KbdintDevice KbdintDevice; |
typedef struct KbdintDevice KbdintDevice; |
|
|
char *krb5_ticket_file; |
char *krb5_ticket_file; |
#endif |
#endif |
void *methoddata; |
void *methoddata; |
|
|
|
struct sshkey **prev_userkeys; |
|
u_int nprev_userkeys; |
}; |
}; |
/* |
/* |
* Every authentication method has to handle authentication requests for |
* Every authentication method has to handle authentication requests for |
|
|
int user_key_allowed(struct passwd *, Key *); |
int user_key_allowed(struct passwd *, Key *); |
void pubkey_auth_info(Authctxt *, const Key *, const char *, ...) |
void pubkey_auth_info(Authctxt *, const Key *, const char *, ...) |
__attribute__((__format__ (printf, 3, 4))); |
__attribute__((__format__ (printf, 3, 4))); |
|
void auth2_record_userkey(Authctxt *, struct sshkey *); |
|
int auth2_userkey_already_used(Authctxt *, struct sshkey *); |
|
|
struct stat; |
struct stat; |
int auth_secure_path(const char *, struct stat *, const char *, uid_t, |
int auth_secure_path(const char *, struct stat *, const char *, uid_t, |