From 545ea65599230641ffaaff4077f72430aa5e7038 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 11 Apr 2013 09:17:53 -0400 Subject: [PATCH] Windows: Force new connection upon RXKADEXPIRED cm_Analyze invalidated the credentials for the cell upon receiving an RXKADEXPIRED error from a server but failed for force the establishment of a new rx connection to the server. As a result, the expired credentials would continue to be used until the credential expires. Change-Id: I93a4146d5ca708ce1cca467e7e5f72fea950f8ae Reviewed-on: http://gerrit.openafs.org/9772 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/WINNT/afsd/cm_conn.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/WINNT/afsd/cm_conn.c b/src/WINNT/afsd/cm_conn.c index e5764ff..2577827 100644 --- a/src/WINNT/afsd/cm_conn.c +++ b/src/WINNT/afsd/cm_conn.c @@ -1154,6 +1154,11 @@ cm_Analyze(cm_conn_t *connp, _InterlockedAnd(&ucellp->flags, ~CM_UCELLFLAG_RXKAD); ucellp->gen++; lock_ReleaseMutex(&userp->mx); + + reqp->flags |= CM_REQ_NEW_CONN_FORCED; + forcing_new = 1; + cm_ForceNewConnections(serverp); + if ( timeLeft > 2 ) retry = 1; } -- 1.9.4