]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
even-larger-ticket-sizes-20040403
authorJeffrey Altman <jaltman@mit.edu>
Sat, 3 Apr 2004 08:59:53 +0000 (08:59 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 3 Apr 2004 08:59:53 +0000 (08:59 +0000)
Microsoft Windows 2003 max ticket size is 12000

src/rxkad/rxkad.p.h

index 1b33fb967730c9d4731362e82b5fcbc9505e42ff..06004bd4a9fed7c705206f44f2d740543c10657c 100644 (file)
@@ -16,7 +16,7 @@
                /* no ticket good for longer than 30 days */
 #define MAXKTCTICKETLIFETIME (30*24*3600)
 #define MINKTCTICKETLEN              32
-#define        MAXKTCTICKETLEN       4096  /* was 344 */
+#define        MAXKTCTICKETLEN       12000 /* was 344 */
 #define        MAXKTCNAMELEN         64        /* name & inst should be 256 */
 #define MAXKTCREALMLEN       64        /* should be 256 */
 #define KTC_TIME_UNCERTAINTY (15*60)   /* max skew bet. machines' clocks */
@@ -38,7 +38,7 @@
 #define RXKAD_TKT_TYPE_KERBEROS_V5             256
 #define RXKAD_TKT_TYPE_KERBEROS_V5_ENCPART_ONLY        213
 
-#define MAXKRB5TICKETLEN                       4096
+#define MAXKRB5TICKETLEN                  MAXKTCTICKETLEN
 
 /*
  * The AFS/DFS translator may also make use of additional ticket types in