turn on FORWARDED in tickets obtained with FORWARDED TGT's
authorJohn Kohl <jtkohl@mit.edu>
Wed, 19 Dec 1990 16:45:03 +0000 (16:45 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 19 Dec 1990 16:45:03 +0000 (16:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1573 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/do_tgs_req.c

index b66675bdf274fc07b4f899db8759f8b0ea89481d..b429b51d09b54ad7c560bb16399408c6bc5a6126 100644 (file)
@@ -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);