diff options
Diffstat (limited to 'usr.bin/ssh/auth-krb4.c')
-rw-r--r-- | usr.bin/ssh/auth-krb4.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth-krb4.c b/usr.bin/ssh/auth-krb4.c index 52952927ffc..569f0b4c3b3 100644 --- a/usr.bin/ssh/auth-krb4.c +++ b/usr.bin/ssh/auth-krb4.c @@ -6,7 +6,7 @@ Kerberos v4 authentication and ticket-passing routines. - $Id: auth-krb4.c,v 1.4 1999/10/01 18:18:40 deraadt Exp $ + $Id: auth-krb4.c,v 1.5 1999/11/02 19:10:14 markus Exp $ */ #include "includes.h" @@ -171,11 +171,12 @@ auth_kerberos_tgt_failure: return 0; } -int auth_afs_token(char *server_user, uid_t uid, const char *string) +int auth_afs_token(struct passwd *pw, const char *token_string) { CREDENTIALS creds; + uid_t uid = pw->pw_uid; - if (!radix_to_creds(string, &creds)) { + if (!radix_to_creds(token_string, &creds)) { log("Protocol error decoding AFS token"); packet_send_debug("Protocol error decoding AFS token"); packet_start(SSH_SMSG_FAILURE); |