From 207625c7ab8ce41d7b59981e6a767dc299178335 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 17 Dec 2004 09:35:54 +0000 Subject: [PATCH] =?utf8?q?r4252:=20Comment=20clarification=20from=20Love?= =?utf8?q?=20H=C3=B6rnquist=20=C3=85strand=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Thanks, Volker --- source/lib/afs.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/lib/afs.c b/source/lib/afs.c index 8688fde6b1c..d3921ab9be7 100644 --- a/source/lib/afs.c +++ b/source/lib/afs.c @@ -124,9 +124,13 @@ static BOOL afs_createtoken(const char *username, const char *cell, p += 8; - /* Ticket lifetime. We fake everything here, so go as long as - possible. This is in 5-minute intervals, so 255 is 21 hours - and 15 minutes.*/ + /* This is a kerberos 4 life time. The life time is expressed + * in units of 5 minute intervals up to 38400 seconds, after + * that a table is used up to lifetime 0xBF. Values between + * 0xC0 and 0xFF is undefined. 0xFF is defined to be the + * infinite time that never expire. + * + * So here we cheat and use the infinite time */ *p = 255; p += 1; -- 2.47.3