Build precise queries to find exactly what you need
Press ESC to close
@hjblik
Favorites0
Views
Projects0
Great script, but NTLM problem caused by perlcurl? I tried to use this script for another website but got AUTHENTICATION FAILED. Using tcpdump showed Basic Authentication. changing the line $curl->setopt(CURLOPT_HTTPAUTH, CURLAUTH_NTLM); into $curl->setopt(CURLOPT_HTTPAUTH, 8); solved this problem. It seems that the constant CURLAUTH_NTLM has the value 0 in my case instead of 8. On another system with perl-WWW-Curl-4.15-12.el7.x86_64 instead of perl-WWW-Curl-4.09-4.el6.i686 the value of CURLAUTH_NTLM = 8 so the root casus must be in perl-WWW-Curl-4.09-4.el6.i686 Script works fine now
Reviewed 10 years ago