]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3650: Negotiate auth missing challenge token
authorSteve Hill <steve@opendium.com>
Thu, 27 Dec 2012 03:01:45 +0000 (20:01 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 27 Dec 2012 03:01:45 +0000 (20:01 -0700)
src/auth/negotiate/auth_negotiate.cc

index 453ee986568e87530a8e7c3a601838928075bc9a..e0d5de13d57b6c5992d6e9999d3a25a8f5ed0544 100644 (file)
@@ -66,9 +66,6 @@ statefulhelper *negotiateauthenticators = NULL;
 /// \ingroup AuthNegotiateInternal
 static int authnegotiate_initialised = 0;
 
-/// \ingroup AuthNegotiateInternal
-Auth::Negotiate::Config negotiateConfig;
-
 /// \ingroup AuthNegotiateInternal
 static hash_table *proxy_auth_cache = NULL;
 
@@ -293,7 +290,7 @@ authenticateNegotiateStats(StoreEntry * sentry)
 Auth::UserRequest::Pointer
 Auth::Negotiate::Config::decode(char const *proxy_auth)
 {
-    Auth::Negotiate::User *newUser = new Auth::Negotiate::User(&negotiateConfig);
+    Auth::Negotiate::User *newUser = new Auth::Negotiate::User(Auth::Config::Find("negotiate"));
     Auth::UserRequest *auth_user_request = new Auth::Negotiate::UserRequest();
     assert(auth_user_request->user() == NULL);