mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74147
@ -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…
Reference in New Issue
Block a user