Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Access sharepoint calendar using LWP

by karayan (Novice)
on Mar 19, 2010 at 06:39 UTC ( #829554=perlquestion: print w/ replies, xml ) Need Help??
karayan has asked for the wisdom of the Perl Monks concerning the following question:

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..

Comment on Access sharepoint calendar using LWP
Download Code
Re: Access sharepoint calendar using LWP
by Anonymous Monk on Mar 19, 2010 at 07:37 UTC
    I think the server is using LDAP authentication. Is it possible for LWP to authenticate LDAP. Please advise. Thanks..

    First you thought it was NTLM, why do you think it is LDAP? I would ask the admin and find out definitively (in addition to learning about sharepoint on MSDN).

    http://search.cpan.org/~gbarr/perl-ldap-0.40/ t/58lwp.t

Re: Access sharepoint calendar using LWP
by Sinistral (Prior) on Mar 19, 2010 at 13:18 UTC
Re: Access sharepoint calendar using LWP
by Anonymous Monk on Oct 18, 2010 at 14:56 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://829554]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-11-27 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (179 votes), past polls