http://www.perlmonks.org?node_id=1029073


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

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.