--------------------- PatchSet 1451 Date: 2001/01/31 11:08:45 Author: rbcollins Branch: auth_rewrite Tag: (none) Log: log helper error code Members: src/auth/ntlm/auth_ntlm.c:1.1.2.31->1.1.2.32 Index: squid/src/auth/ntlm/auth_ntlm.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/auth/ntlm/auth_ntlm.c,v retrieving revision 1.1.2.31 retrieving revision 1.1.2.32 diff -u -r1.1.2.31 -r1.1.2.32 --- squid/src/auth/ntlm/auth_ntlm.c 30 Jan 2001 12:04:45 -0000 1.1.2.31 +++ squid/src/auth/ntlm/auth_ntlm.c 31 Jan 2001 11:08:45 -0000 1.1.2.32 @@ -471,7 +471,7 @@ result = S_HELPER_RELEASE; /*some error has occured. no more requests */ ntlm_request->authhelper = NULL; auth_user->flags.credentials_ok = 2; /* Login/Usercode failed */ - debug(29, 4) ("authenticateNTLMHandleReply: Error validating user via NTLM.\n"); + debug(29, 4) ("authenticateNTLMHandleReply: Error validating user via NTLM. Error returned '%s'\n",reply); ntlm_request->auth_state = AUTHENTICATE_STATE_NONE; if ((t = strchr(reply, ' '))) /* strip after a space */ *t = '\0'; @@ -497,7 +497,7 @@ /* The helper broke on YR. It automatically * resets */ auth_user->flags.credentials_ok = 3; /* cannot process */ - debug(29, 1) ("authenticateNTLMHandleReply: Error obtaining challenge from helper: %d.\n", lastserver); + debug(29, 1) ("authenticateNTLMHandleReply: Error obtaining challenge from helper: %d. Error returned '%s'\n", lastserver,reply); /* mark it for starving */ helperstate->starve = 1; /* resubmit the request. This helper is currently busy, so we will get @@ -507,7 +507,7 @@ /* the helper broke on a KK */ /* first the standard KK stuff */ auth_user->flags.credentials_ok = 2; /* Login/Usercode failed */ - debug(29, 4) ("authenticateNTLMHandleReply: Error validating user via NTLM.\n"); + debug(29, 4) ("authenticateNTLMHandleReply: Error validating user via NTLM. Error returned '%s'\n",reply); ntlm_request->auth_state = AUTHENTICATE_STATE_NONE; if ((t = strchr(reply, ' '))) /* strip after a space */ *t = '\0';