From da4736763659cd6fc9933cdcf5dcb4b6bbe50433 Mon Sep 17 00:00:00 2001 From: pier11 Date: Thu, 11 Mar 2010 07:36:23 +0000 Subject: [PATCH] fix #2968287 - Auth failure if home server is v2 and director is v > 2 because of non clean up auth protocol version in redirection scenario. Server with auth v2 (LCS 2005-) doesn't explicitly send version of auth protocol, so the value was not reset. Auth protocol versions by server: 2005 - v2 (version is not sent explicitly) 2007 - v3, v4(after update) 2007 R2 - v4 (cherry picked from commit 494c1e467b13de295a30bcd0981fa7311f218e9a) --- src/core/sipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/sipe.c b/src/core/sipe.c index 563170f7..3d7a9248 100644 --- a/src/core/sipe.c +++ b/src/core/sipe.c @@ -331,6 +331,7 @@ static void sipe_auth_free(struct sip_auth *auth) auth->realm = NULL; g_free(auth->target); auth->target = NULL; + auth->version = 0; auth->type = AUTH_TYPE_UNSET; auth->retries = 0; auth->expires = 0; -- 2.11.4.GIT