[krbdev.mit.edu #7063] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Jan 11 16:20:11 EST 2012


Fix spurious clock skew caused by gak_fct delay

In get_in_tkt.c, a time offset is computed between the KDC's auth_time
and the current system time after the reply is decrypted.  Time may
have elapsed between these events because of a gak_fct invocation
which blocks on user input.  The resulting spurious time offset can
cause subsequent TGS-REQs to fail and can also cause the end time of
the next AS request to be in the past (issue #889) in cases where the
old ccache is opened to find the default principal.

Use the system time, without offset, for the request time of an AS
request, for more predictable kinit behavior.  Use this request time,
rather than the current time, when computing the clock skew after the
reply is decrypted.

http://src.mit.edu/fisheye/changelog/krb5/?cs=25644
Commit By: ghudson
Revision: 25644
Changed Files:
U   trunk/src/lib/krb5/krb/get_in_tkt.c



More information about the krb5-bugs mailing list