From: Theodore Tso Date: Sat, 12 Mar 1994 05:15:59 +0000 (+0000) Subject: KDC wasn't handling postdated tickets requested via an initial ticket X-Git-Tag: krb5-1.0-beta4~227 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8559be4af94d8ce13c3e016c103bd50b1b2f0fbd;p=krb5.git KDC wasn't handling postdated tickets requested via an initial ticket request correctly. It should have been setting the POSTDATED flag as well as the INVALID flag. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3455 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index 991518932..59da74dcc 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -291,6 +291,7 @@ krb5_data **response; /* filled in with a response packet */ enc_tkt_reply.times.authtime = kdc_time; if (isflagset(request->kdc_options, KDC_OPT_POSTDATED)) { + setflag(enc_tkt_reply.flags, TKT_FLG_POSTDATED); setflag(enc_tkt_reply.flags, TKT_FLG_INVALID); enc_tkt_reply.times.starttime = request->from; } else