--------------------- PatchSet 2616 Date: 2001/07/12 21:49:58 Author: rbcollins Branch: ntlm Tag: (none) Log: Set squid 2.4 behaviour for denies due to failed authorisation Members: src/authenticate.c:1.1.1.3.12.38->1.1.1.3.12.39 Index: squid/src/authenticate.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/authenticate.c,v retrieving revision 1.1.1.3.12.38 retrieving revision 1.1.1.3.12.39 diff -u -r1.1.1.3.12.38 -r1.1.1.3.12.39 --- squid/src/authenticate.c 17 May 2001 23:22:33 -0000 1.1.1.3.12.38 +++ squid/src/authenticate.c 12 Jul 2001 21:49:58 -0000 1.1.1.3.12.39 @@ -1,6 +1,6 @@ /* - * $Id: authenticate.c,v 1.1.1.3.12.38 2001/05/17 23:22:33 rbcollins Exp $ + * $Id: authenticate.c,v 1.1.1.3.12.39 2001/07/12 21:49:58 rbcollins Exp $ * * DEBUG: section 29 Authenticator * AUTHOR: Duane Wessels @@ -442,7 +442,7 @@ || (rep->sline.status == HTTP_UNAUTHORIZED)) && internal) /* this is a authenticate-needed response */ { - if ((auth_user_request != NULL) && (auth_user_request->auth_user->auth_module > 0)) + if ((auth_user_request != NULL) && (auth_user_request->auth_user->auth_module > 0) &! authenticateUserAuthenticated(auth_user_request)) authscheme_list[auth_user_request->auth_user->auth_module - 1].authFixHeader(auth_user_request, rep, type, request); else { int i; @@ -451,7 +451,7 @@ for (i = 0; i < Config.authConfig.n_configured; i++) { scheme = Config.authConfig.schemes + i; if (authscheme_list[scheme->Id].Active()) - authscheme_list[scheme->Id].authFixHeader(auth_user_request, rep, type, + authscheme_list[scheme->Id].authFixHeader(NULL, rep, type, request); else debug(29, 4) ("authenticateFixHeader: Configured scheme %s not Active\n", scheme->typestr);