Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: How to select NTLM authentication with LWP

by riverron (Sexton)
on Feb 07, 2012 at 02:55 UTC ( #952204=note: print w/ replies, xml ) Need Help??


in reply to Re^4: How to select NTLM authentication with LWP
in thread How to select NTLM authentication with LWP

hi, just recently, i've got a need to access an NTLM-protected web page programatically using LWP and i'm getting the same error as yours:

HTTP/1.1 401 Unauthorized Date: Tue, 07 Feb 2012 02:49:17 GMT Server: Microsoft-IIS/6.0 WWW-Authenticate: Negotiate WWW-Authenticate: NTLM WWW-Authenticate: Digest qop="auth",algorithm=MD5-sess,nonce="9bee3c16 +43e5cc01cdd097f1c38245318e8bcc42694833d14128d3c67ab436a651383633536b5 +56d",charset=utf-8,realm="Digest" Content-Length: 83 Content-Type: text/html Client-Date: Tue, 07 Feb 2012 02:49:19 GMT Client-Peer: 192.168.1.1:80 Client-Response-Num: 7 Client-Warning: Credentials for 'xxpmuser' failed before Title: Error X-Powered-By: ASP.NET
have you had any luck resolving this? TIA, -ron


Comment on Re^5: How to select NTLM authentication with LWP
Download Code
Re^6: How to select NTLM authentication with LWP
by graemestewart (Initiate) on Nov 29, 2012 at 22:24 UTC
    Having this same issue. I've never seen a decent working example of NTLM auth within Perl. Very frustrating.

    Hints on debugging would be appreciated too.

    $gen-auth is almost useless.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://952204]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-07-11 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (218 votes), past polls