Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: NTLM authentication with IIS 6

by mrlizard123 (Novice)
on Apr 17, 2013 at 01:18 UTC ( [id://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>

Replies are listed 'Best First'.
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.
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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found