r4252: Comment clarification from Love Hörnquist Åstrand <lha@stacken.kth.se>.
authorVolker Lendecke <vlendec@samba.org>
Fri, 17 Dec 2004 09:35:54 +0000 (09:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:40 +0000 (10:53 -0500)
Thanks,

Volker
(This used to be commit 207625c7ab8ce41d7b59981e6a767dc299178335)

source3/lib/afs.c

index 8688fde6b1c4d4082c74cc1f3e4978fedee1b6db..d3921ab9be7a994b7ae9cbe5a7c312b7cbb79089 100644 (file)
@@ -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;