From 8559be4af94d8ce13c3e016c103bd50b1b2f0fbd Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 12 Mar 1994 05:15:59 +0000 Subject: [PATCH] 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 --- src/kdc/do_as_req.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2