[Heimdal-source-changes] [heimdal/heimdal] b20bb5: Fix never valid error condition in KDC

GitHub noreply at github.com
Ons Nov 27 01:42:03 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: b20bb509bdf15f47c744e157fee16f03d872b7b2
      https://github.com/heimdal/heimdal/commit/b20bb509bdf15f47c744e157fee16f03d872b7b2
  Author: Nicolas Williams <nico at cryptonector.com>
  Date:   2013-11-26 (Tue, 26 Nov 2013)

  Changed paths:
    M kdc/krb5tgs.c

  Log Message:
  -----------
  Fix never valid error condition in KDC

The TGS was incorrectly using authtime to compute renew_till for new
tickets, which was in turn leading to endtime potentially being equal to
starttime, which caused the TGS to return KRB5KDC_ERR_NEVER_VALID.

This happens when the TGT renewal lifetime is longer than the max renew
lifetime of any other services, after that much time (target services'
max renew life) passes.  The TGT is still good but TGS-REQs fail.





More information about the Heimdal-source-changes mailing list