svn commit: samba r4252 - in branches/SAMBA_3_0/source/lib: .
vlendec at samba.org
vlendec at samba.org
Fri Dec 17 09:35:55 GMT 2004
Author: vlendec
Date: 2004-12-17 09:35:54 +0000 (Fri, 17 Dec 2004)
New Revision: 4252
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4252
Log:
Comment clarification from Love H?\195?\182rnquist ?\195?\133strand <lha at stacken.kth.se>.
Thanks,
Volker
Modified:
branches/SAMBA_3_0/source/lib/afs.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/afs.c
===================================================================
--- branches/SAMBA_3_0/source/lib/afs.c 2004-12-17 09:05:41 UTC (rev 4251)
+++ branches/SAMBA_3_0/source/lib/afs.c 2004-12-17 09:35:54 UTC (rev 4252)
@@ -124,9 +124,13 @@
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;
More information about the samba-cvs
mailing list