--------------------- PatchSet 3709 Date: 2002/02/26 11:37:41 Author: hno Branch: ntlm_smbpasswd Tag: (none) Log: Hack to have the negotiate packet sent to helpers. Will crash miserably in case of challenge reuses to browsers with different capabilities.. Members: src/auth/ntlm/auth_ntlm.c:1.19->1.19.2.1 Index: squid/src/auth/ntlm/auth_ntlm.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/auth/ntlm/auth_ntlm.c,v retrieving revision 1.19 retrieving revision 1.19.2.1 diff -u -r1.19 -r1.19.2.1 --- squid/src/auth/ntlm/auth_ntlm.c 18 Feb 2002 23:43:12 -0000 1.19 +++ squid/src/auth/ntlm/auth_ntlm.c 26 Feb 2002 11:37:41 -0000 1.19.2.1 @@ -737,7 +737,7 @@ helperStatefulSubmit(ntlmauthenticators, NULL, authenticateNTLMHandleplaceholder, r, NULL); } else { /* Server with invalid challenge */ - snprintf(buf, 8192, "YR\n"); + snprintf(buf, 8192, "YR %s\n", sent_string); helperStatefulSubmit(ntlmauthenticators, buf, authenticateNTLMHandleReply, r, ntlm_request->authserver); } } else {