debugging

This commit is contained in:
2025-03-17 09:48:17 +11:00
parent befb826740
commit f8cadb2287
3 changed files with 17 additions and 4 deletions

View File

@@ -123,8 +123,8 @@ func (l Negotiator) RoundTrip(req *http.Request) (res *http.Response, err error)
}
// debugging
PrintDebug("Received NTLM Type 2 Challenge: %s", base64.StdEncoding.EncodeToString(challengeMessage))
DecodeNTLMMessage(challengeMessage)
//PrintDebug("Received NTLM Type 2 Challenge: %s", base64.StdEncoding.EncodeToString(challengeMessage))
//DecodeNTLMMessage(challengeMessage)
if !(resauth.IsNegotiate() || resauth.IsNTLM()) || len(challengeMessage) == 0 {
// Negotiation failed, let client deal with response