From: Jeffrey Altman Date: Mon, 25 Jun 2012 05:38:41 +0000 (-0400) Subject: Windows: afscreds import lsa before renew expiring X-Git-Tag: upstream/1.8.0_pre1^2~2263 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=712c0c1d0e506a9010d7a5cc93dfd49bee006d41;p=packages%2Fo%2Fopenafs.git 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 --- 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)