version 1.3, 1999/09/28 04:45:37 |
version 1.4, 1999/09/29 18:16:21 |
|
|
#ifdef KRB4 |
#ifdef KRB4 |
#include <krb.h> |
#include <krb.h> |
|
|
int ssh_tf_init(uid_t uid); |
/* Performs Kerberos v4 mutual authentication with the client. This returns |
|
0 if the client could not be authenticated, and 1 if authentication was |
|
successful. This may exit if there is a serious protocol violation. */ |
int auth_krb4(const char *server_user, KTEXT auth, char **client); |
int auth_krb4(const char *server_user, KTEXT auth, char **client); |
|
int ssh_tf_init(uid_t uid); |
|
|
|
#ifdef AFS |
|
#include <kafs.h> |
|
|
|
/* Accept passed Kerberos v4 ticket-granting ticket and AFS tokens. */ |
int auth_kerberos_tgt(struct passwd *pw, const char *string); |
int auth_kerberos_tgt(struct passwd *pw, const char *string); |
int auth_afs_token(char *server_user, uid_t uid, const char *string); |
int auth_afs_token(char *server_user, uid_t uid, const char *string); |
|
|
int creds_to_radix(CREDENTIALS *creds, unsigned char *buf); |
int creds_to_radix(CREDENTIALS *creds, unsigned char *buf); |
int radix_to_creds(const char *buf, CREDENTIALS *creds); |
int radix_to_creds(const char *buf, CREDENTIALS *creds); |
|
#endif /* AFS */ |
|
|
#endif /* KRB4 */ |
#endif /* KRB4 */ |
|
|