[418] in Kerberos-V5-bugs
do_as_req doesn't set TKT_FLG_POSTDATED
daemon@ATHENA.MIT.EDU (Jim Miller)
Mon Jan 31 23:59:30 1994
From: jim@bilbo.suite.com (Jim Miller)
Date: Mon, 31 Jan 94 22:55:42 -0600
To: krb5-bugs@MIT.EDU
Reply-To: Jim_Miller@bilbo.suite.com
For KRB5, beta3...
The following code is from kdc/do_as_req.c:
if (isflagset(request->kdc_options, KDC_OPT_POSTDATED)) {
setflag(enc_tkt_reply.flags, TKT_FLG_INVALID);
enc_tkt_reply.times.starttime = request->from;
} else
enc_tkt_reply.times.starttime = kdc_time;
The following code is from kdc/do_tgs_req.c:
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
enc_tkt_reply.times.starttime = kdc_time;
Notice that "do_as_req" does not call "setflag" to set TKT_FLG_POSTDATED,
as does "do_tgs_req".
Is this correct, or a bug?
Jim_Miller@suite.com