Fix LP64 problem in Kerberos 5 TGT passing.
Obtained from: NetBSD (done by thorpej@netbsd.org)
This commit is contained in:
parent
5ca7924a91
commit
a16a9b0f1e
@ -397,7 +397,9 @@ do_authloop(struct passwd * pw, char *luser)
|
||||
|
||||
{
|
||||
krb5_data tgt;
|
||||
tgt.data = packet_get_string(&tgt.length);
|
||||
u_int tgtlen;
|
||||
tgt.data = packet_get_string(&tgtlen);
|
||||
tgt.length = tgtlen;
|
||||
|
||||
if (!auth_krb5_tgt(luser, &tgt, tkt_client))
|
||||
verbose ("Kerberos V5 TGT refused for %.100s", luser);
|
||||
|
Loading…
x
Reference in New Issue
Block a user