Pull up r17531 from trunk
authorTom Yu <tlyu@mit.edu>
Fri, 2 Dec 2005 21:51:05 +0000 (21:51 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 2 Dec 2005 21:51:05 +0000 (21:51 +0000)
ticket: 3259
version_fixed: 1.4.4

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@17538 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ChangeLog
src/lib/krb5/ccache/cc_mslsa.c

index 1cf631a6110568425a5dfcdf4787429fceaa7cd9..b8dfd4fb4bf8dfe2ba9d8f2917e55961cd92571a 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-02  Jeffrey Altman <jaltman@mit.edu>
+
+       * cc_mslsa.c: increase the size of the PurgeRequest
+
 2005-10-27  Jeffrey Altman <jaltman@mit.edu>
        * ccdefault.c: 
           (krb5int_cc_default) - add KFW support for multiple ccaches
index 41fc1c198994d0420d49f830c82f685c4522b307..f31788a6251bf081e5ba3c76e90ab0fd9e0b784c 100644 (file)
@@ -736,7 +736,7 @@ PurgeTicket2000( HANDLE LogonHandle, ULONG  PackageId,
     NTSTATUS Status = 0;
     NTSTATUS SubStatus = 0;
     KERB_PURGE_TKT_CACHE_REQUEST * pPurgeRequest;
-    DWORD dwRequestLen = sizeof(KERB_PURGE_TKT_CACHE_REQUEST) + 1024;
+    DWORD dwRequestLen = sizeof(KERB_PURGE_TKT_CACHE_REQUEST) + 2048;
     char * sname = NULL, * srealm = NULL;
 
     if (krb5_unparse_name(context, cred->server, &sname))
@@ -790,7 +790,7 @@ PurgeTicketXP( HANDLE LogonHandle, ULONG  PackageId,
     NTSTATUS Status = 0;
     NTSTATUS SubStatus = 0;
     KERB_PURGE_TKT_CACHE_EX_REQUEST * pPurgeRequest;
-    DWORD dwRequestLen = sizeof(KERB_PURGE_TKT_CACHE_EX_REQUEST) + 2048;
+    DWORD dwRequestLen = sizeof(KERB_PURGE_TKT_CACHE_EX_REQUEST) + 4096;
     char * cname = NULL, * crealm = NULL;
     char * sname = NULL, * srealm = NULL;