Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: NTLM authentication with IIS 6

by mrlizard123 (Novice)
on Apr 17, 2013 at 01:18 UTC ( #1029030=note: print w/ replies, xml ) Need Help??


in reply to Re^2: NTLM authentication with IIS 6
in thread NTLM authentication with IIS 6

LWP::Authen::Ntlm uses Authen::NTLM, and neither should need to be explicitly included, as the type of authentication is detected and the NTLM libraries are auto-included.

If I do not explicitly use Authen:NTLM I get:

Undefined subroutine &main::ntlmv2

Whether I specify them or not in the suggestion by Khen1950fx I still get response code of '500' with content:

<html><head><title>Error</title></head><body>The function requested is + not supported </body></html>


Comment on Re^3: NTLM authentication with IIS 6
Select or Download Code
Re^4: NTLM authentication with IIS 6
by Anonymous Monk on Apr 17, 2013 at 02:22 UTC

    If I do not explicitly use Authen:NTLM I get: Undefined subroutine &main::ntlmv2

    Remove ntlmv2(); from your program and try again

Re^4: NTLM authentication with IIS 6
by runrig (Abbot) on Apr 17, 2013 at 06:14 UTC
    If I do not explicitly use Authen:NTLM I get:...

    Ah, I didn't see that function (Khen1950fx appears to have missed it also). Authen::NTLM exports the function ntlmv2(), which sets the module so that it uses V2 (so Authen::NTLM appears to be required explicitly)...I might have noticed if you explicitly exported the function:

    use Authen::NTLM qw(ntlmv2); ... ntlmv2(1);
    Not that this will fix your problem...the 500 error is probably a result of not using V2.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2014-08-27 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (248 votes), past polls