IlyaS has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks!

I have my PC behind TMG proxy with authentication (integrated type) and I have to create a script to download something from Internet. So I have to authenticate. How can I do this ?

Headers from TMG:
Proxy-Authentication: Negotiate
Proxy-Authentication: Kerberos
Proxy-Authentication: NTLM
and
Client-Warning: Unsupported authentication scheme 'kerberos'

I`ve tried to pass using Authen::NTLM like described here http://www.perlmonks.org/?node_id=953031 but it`s useless

P.S. Sorry for my rude english - it`s not my native language

Upd. Thanks all. It was my mistake using Authen::NTLM

Replies are listed 'Best First'.
Re: Perl behind TMG proxy
by Anonymous Monk on Jan 21, 2015 at 10:57 UTC
      Thanks for reply! Yes, Authen::NTLM is already installed. I`ve tried it, but server answer with
      "502 Proxy Error (Forefront TMG denied the specified URL-address)"
Re: Perl behind TMG proxy
by nikosv (Deacon) on Jan 21, 2015 at 16:27 UTC