From 0f53d2c4efe6060b6f6973be51d587c65958b0c9 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 19 Dec 1990 16:45:03 +0000 Subject: [PATCH] turn on FORWARDED in tickets obtained with FORWARDED TGT's git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1573 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/do_tgs_req.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index b66675bdf..b429b51d0 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -226,6 +226,8 @@ krb5_data **response; /* filled in with a response packet */ enc_tkt_reply.caddrs = request->addresses; reply_encpart.caddrs = request->addresses; } + if (isflagset(header_ticket->enc_part2->flags, TKT_FLG_FORWARDED)) + setflag(enc_tkt_reply.flags, TKT_FLG_FORWARDED); if (isflagset(request->kdc_options, KDC_OPT_PROXIABLE)) setflag(enc_tkt_reply.flags, TKT_FLG_PROXIABLE); -- 2.26.2