in reply to Unable to pass domain in NTLM auth with LWP

Have you tried putting 'NewDomain' into the $realm (Second parameter to $ua->credentials) ?

        ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall

  • Comment on Re: Unable to pass domain in NTLM auth with LWP

Replies are listed 'Best First'.
Re^2: Unable to pass domain in NTLM auth with LWP
by xytras78 (Initiate) on Mar 02, 2017 at 18:54 UTC

    Thanks so much for the suggestion on trying to add it to the $realm field. I actually did try that early into my troubleshooting exercises. Unfortunately, that made it even worse. When I did that, there isn't even a NTLMSSP_NEGOTIATE sent from the client to the server. It's just a straight GET followed by a HTTP1.1 401 Unauthorized. No NTLMSSSP_CHALLENGE is ever received back.