]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Document clock skew tolerance for ticket times
authorBrett Randall <javabrett@gmail.com>
Fri, 5 Sep 2014 01:21:35 +0000 (11:21 +1000)
committerTom Yu <tlyu@mit.edu>
Mon, 8 Sep 2014 22:06:46 +0000 (18:06 -0400)
KDC and application server checks on ticket start and expiration times
are subject to clock skew tolerance.  Document this grace period.

[tlyu@mit.edu: edit commit message, adjust wording to conform to
existing style, document start time clock skew]

ticket: 8008 (new)
target_version: 1.13
tags: pullup

doc/admin/conf_files/krb5_conf.rst
doc/user/user_commands/kinit.rst

index 2b219fbedf2e1e79ade557f0c6946e6c041b7866..6636c2fc818961f68fe6fee8b2dc67f0c5ddaea3 100644 (file)
@@ -126,6 +126,12 @@ The libdefaults section may contain any of the following relations:
     library will tolerate before assuming that a Kerberos message is
     invalid.  The default value is 300 seconds, or five minutes.
 
+    The clockskew setting is also used when evaluating ticket start
+    and expiration times.  For example, tickets that have reached
+    their expiration time can still be used (and renewed if they are
+    renewable tickets) if they have been expired for a shorter
+    duration than the **clockskew** setting.
+
 **default_ccache_name**
     This relation specifies the name of the default credential cache.
     The default is |ccache|.  This relation is subject to parameter
index c2b3b7fed0dbf557caa8042afd6b3cdc6320f21b..72721c3e327f46105b0f15ebee01980f47537a61 100644 (file)
@@ -103,6 +103,11 @@ OPTIONS
     expired ticket cannot be renewed, even if the ticket is still
     within its renewable life.
 
+    Note that renewable tickets that have expired as reported by
+    :ref:`klist(1)` may sometimes be renewed using this option,
+    because the KDC applies a grace period to account for client-KDC
+    clock skew.  See :ref:`krb5.conf(5)` **clockskew** setting.
+
 **-k** [**-i** | **-t** *keytab_file*]
     requests a ticket, obtained from a key in the local host's keytab.
     The location of the keytab may be specified with the **-t**