|laziness, impatience, and hubris|
NTLM authentication fails with WWW:Mechanize, fine with LWP::UserAgentby reasonablekeith (Deacon)
|on May 22, 2009 at 10:09 UTC||Need Help??|
reasonablekeith has asked for the
wisdom of the Perl Monks concerning the following question:
A little help please. I need to write some test scripts over our company sharepoint intranet (from and to windows), so to that end I need to authenicate through NTLM. No problem, I've updated libperl-www to 5.862, and set up the following...
The above works just fine and returns a response code of 200, groovey. However, as I'll be following links, submitting forms etc, I'd obviously much rather use Mechanize. As I beleive Mechanize is built over LWP, I don't think this should be a problem, so try the following...
Unfortunately, I can't get anything other than a 401 unauthorized out of this. I'm not sure how to attack this, so any advice much appreciated.
my name's not Keith, and I'm not reasonable.