From 712c0c1d0e506a9010d7a5cc93dfd49bee006d41 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 25 Jun 2012 01:38:41 -0400 Subject: [PATCH] Windows: afscreds import lsa before renew expiring Change-Id: I53d3d000a0970089417d7855fda7a97ba4e61000 Reviewed-on: http://gerrit.openafs.org/7649 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/client_creds/window.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/WINNT/client_creds/window.cpp b/src/WINNT/client_creds/window.cpp index 965ab72ce..e9c505c01 100644 --- a/src/WINNT/client_creds/window.cpp +++ b/src/WINNT/client_creds/window.cpp @@ -695,8 +695,12 @@ size_t Main_FindExpiredCreds (void) expirationCheck = true; lock_ReleaseMutex(&g.expirationCheckLock); - if ( KFW_is_available() ) - KFW_AFS_renew_expiring_tokens(); + if ( KFW_is_available() ) { +#ifdef USE_MS2MIT + KFW_import_windows_lsa(); +#endif /* USE_MS2MIT */ + KFW_AFS_renew_expiring_tokens(); + } lock_ObtainMutex(&g.credsLock); for (size_t iCreds = 0; iCreds < g.cCreds; ++iCreds) -- 2.39.5