Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Access sharepoint calendar using LWP

by karayan (Novice)
on Mar 19, 2010 at 06:39 UTC ( [id://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..

Replies are listed 'Best First'.
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 (Monsignor) 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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-25 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found