mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
kaserver-set-realm-name-in-tgts-20020708
based on comment from Chaskiel Grandman regarding observed poor interoperability of klog-generated tgts with other kdcs where key is otherwise same
This commit is contained in:
parent
616f796024
commit
66bd2d780e
@ -1109,7 +1109,7 @@ static afs_int32 Authenticate (version, call, aname, ainstance, start, end,
|
||||
if (code) goto abort;
|
||||
|
||||
code = tkt_MakeTicket (ticket, &ticketLen, &tgskey,
|
||||
aname, ainstance, "", start, end, &sessionKey,
|
||||
aname, ainstance, lrealm, start, end, &sessionKey,
|
||||
rx_HostOf(rx_PeerOf(rx_ConnectionOf(call))),
|
||||
sname, sinst);
|
||||
if (code) goto abort;
|
||||
@ -1144,7 +1144,7 @@ static afs_int32 Authenticate (version, call, aname, ainstance, start, end,
|
||||
case 2:
|
||||
code = PrepareTicketAnswer
|
||||
(oanswer, request.time+1, ticket, ticketLen, &sessionKey,
|
||||
start, end, &tentry, &server, "",
|
||||
start, end, &tentry, &server, lrealm,
|
||||
(tgt ? KA_GETTGT_ANS_LABEL : KA_GETADM_ANS_LABEL));
|
||||
if (code) goto abort;
|
||||
#ifdef EXPIREPW
|
||||
|
Loading…
Reference in New Issue
Block a user