Hi All,
I am trying to download a sharepoint calendar using LWP.
use LWP::Simple;
use LWP::UserAgent;
use Data::Dumper;
my $URL = 'https://calendar.host.com';
my $ua = LWP::UserAgent->new( );
$ua->credentials('http://host.com',
'',
'user' => 'password');
my $req = new HTTP::Request GET => $URL;
my $res = $ua->request($req);
print Dumper($res);
I am getting error NTLM is not supported. Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.
I think the server is using LDAP authentication. Is it possible for LWP to authenticate LDAP. Please advise.
Thanks..