Skip Menu |

This queue is for tickets about the Email-Folder-Exchange CPAN distribution.

Report information
The Basics
Id: 65645
Status: open
Priority: 0/
Queue: Email-Folder-Exchange

People
Owner: Nobody in particular
Requestors: marco.zucchelli [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug report
Date: Fri, 11 Feb 2011 18:22:38 +0100
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: marco zucchelli <marco.zucchelli [...] gmail.com>
Dear List, i cannot use the module to connect to OWA 2010: my $folder = Email::Folder::Exchange->new('https://myserver.com/owa', 'user', ' pwd'); 401 Unauthorized ( The server requires authorization to fulfill the request. Access to the Web server is denied. Contact the server administrator. ) at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 Am I doing something wrong? Marco perl -v This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 GNU/Linux Email-Folder-Exchange-2.0
Subject: Re: [rt.cpan.org #65645] bug report
Date: Fri, 11 Feb 2011 18:08:19 -0600
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: Warren <warren [...] warrenandrachel.com>
Remember the user is domain\user marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: Show quoted text
>Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. >Transaction: Ticket created by marco.zucchelli@gmail.com > Queue: Email-Folder-Exchange > Subject: bug report > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: marco.zucchelli@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > > >Dear List, > > i cannot use the module to connect to OWA 2010: > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa', >'user', ' >pwd'); > > >401 Unauthorized ( The server requires authorization to fulfill the request. >Access to the Web server is denied. Contact the server administrator. ) at >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > > >Am I doing something wrong? > >Marco > >perl -v > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 >GNU/Linux > >Email-Folder-Exchange-2.0 >
Subject: Re: [rt.cpan.org #65645] bug report
Date: Sat, 12 Feb 2011 08:50:16 +0100
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: marco zucchelli <marco.zucchelli [...] gmail.com>
Thanks a lot for your answer! I does not work anyway, exactly the same error: Can it be a redirect? when i put in the browser: http://server.com i am redirected to: https://server.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=5 If i put this address, the script prints out the http code of the page, but also some syntax errors: syntax error at line 1, column 61, byte 61 at /usr/lib/perl5/XML/Parser.pm line 187 ..... http code of the page ...... at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 I am a little lost ... Thanks Marco On Sat, Feb 12, 2011 at 1:08 AM, warren via RT < bug-Email-Folder-Exchange@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > > Remember the user is domain\user > > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: >
> >Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. > >Transaction: Ticket created by marco.zucchelli@gmail.com > > Queue: Email-Folder-Exchange > > Subject: bug report > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: marco.zucchelli@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > > > > > >Dear List, > > > > i cannot use the module to connect to OWA 2010: > > > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa', > >'user', ' > >pwd'); > > > > > >401 Unauthorized ( The server requires authorization to fulfill the
> request.
> >Access to the Web server is denied. Contact the server administrator. )
> at
> >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > > > > > >Am I doing something wrong? > > > >Marco > > > >perl -v > > > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > > > > > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 > >GNU/Linux > > > >Email-Folder-Exchange-2.0 > >
> >
Subject: Re: [rt.cpan.org #65645] bug report
Date: Sat, 12 Feb 2011 15:29:34 +0000 (UTC)
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: warren [...] warrenandrachel.com
Could you try the Email::Folder::Exchange::EWS module directly? Also, when executing, please send the trace by adding use SOAP::Lite; SOAP::Lite->import('trace' => 'all'); to the top of your script. -Warren Show quoted text
----- Original Message ----- From: "marco zucchelli via RT" <bug-Email-Folder-Exchange@rt.cpan.org> Sent: Saturday, February 12, 2011 1:50:26 AM Subject: Re: [rt.cpan.org #65645] bug report Queue: Email-Folder-Exchange Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > Thanks a lot for your answer! I does not work anyway, exactly the same error: Can it be a redirect? when i put in the browser: http://server.com i am redirected to: https://server.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=5 If i put this address, the script prints out the http code of the page, but also some syntax errors: syntax error at line 1, column 61, byte 61 at /usr/lib/perl5/XML/Parser.pm line 187 ..... http code of the page ...... at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 I am a little lost ... Thanks Marco On Sat, Feb 12, 2011 at 1:08 AM, warren via RT < bug-Email-Folder-Exchange@rt.cpan.org> wrote:
> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > > Remember the user is domain\user > > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: >
> >Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. > >Transaction: Ticket created by marco.zucchelli@gmail.com > > Queue: Email-Folder-Exchange > > Subject: bug report > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: marco.zucchelli@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > > > > > >Dear List, > > > > i cannot use the module to connect to OWA 2010: > > > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa', > >'user', ' > >pwd'); > > > > > >401 Unauthorized ( The server requires authorization to fulfill the
> request.
> >Access to the Web server is denied. Contact the server administrator. )
> at
> >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > > > > > >Am I doing something wrong? > > > >Marco > > > >perl -v > > > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > > > > > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 > >GNU/Linux > > > >Email-Folder-Exchange-2.0 > >
> >
Subject: Re: [rt.cpan.org #65645] bug report
Date: Sat, 12 Feb 2011 17:16:37 +0100
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: marco zucchelli <marco.zucchelli [...] gmail.com>
Dear Warren, same problem. The output of SOAP is below. Does it say something to you ? SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP::Parser::new: () SOAP::Lite::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Lite::call: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: GetFolder SOAP::Data=HASH(0x2c7ccb0) SOAP::Data=HASH(0x2d315e8) SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x2d49640) SOAP::Transport::HTTP::Client::send_receive: POST https://myserver.com/HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 528 Content-Type: text/xml; charset=utf-8 SOAPAction: http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:t=" http://schemas.microsoft.com/exchange/services/2006/types"><soap:Body><GetFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"><FolderShape><t:BaseShape>Default</t:BaseShape></FolderShape><FolderIds><t:DistinguishedFolderId Id="inbox" /></FolderIds></GetFolder></soap:Body></soap:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x2f8bb40) SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 401 Unauthorized ( The server requires authorization to fulfill the request. Access to the Web server is denied. Contact the server administrator. ) Cache-Control: no-cache Connection: Keep-Alive Pragma: no-cache WWW-Authenticate: Basic Realm="myserver.com" Content-Length: 2057 Content-Type: text/html Client-Date: Sat, 12 Feb 2011 15:40:27 GMT Client-Peer: 130.237.99.154:443 Client-Response-Num: 1 Client-SSL-Cert-Issuer: /C=NL/O=TERENA/CN=TERENA SSL CA Client-SSL-Cert-Subject: /C=SE/O=my org/OU=UF/CN=myserver.com Client-SSL-Cipher: RC4-MD5 Client-SSL-Warning: Peer certificate not verified Title: The page cannot be displayed X-Meta-GENERATOR: MSHTML 5.50.4522.1800 X-Meta-ROBOTS: NOINDEX <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE> <STYLE id=L_defaultr_1>A:link { FONT: 8pt/11pt verdana; COLOR: #ff0000 } A:visited { FONT: 8pt/11pt verdana; COLOR: #4e4e4e } </STYLE> <META content=NOINDEX name=ROBOTS> <META http-equiv=Content-Type content="text-html; charset=UTF-8"> <META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD> <BODY bgColor=#ffffff> <TABLE cellSpacing=5 cellPadding=3 width=410> <TBODY> <TR> <TD vAlign=center align=left width=360> <H1 id=L_defaultr_2 style="FONT: 13pt/15pt verdana; COLOR: #000000"><ID id=L_defaultr_3><!--Problem-->The page cannot be displayed </ID></H1></TD></TR> <TR> <TD width=400 colSpan=2><FONT id=L_defaultr_4 style="FONT: 8pt/11pt verdana; COLOR: #000000"><ID id=L_defaultr_5><B>Explanation: </B>There is a problem with the page you are trying to reach and it cannot be displayed.</ID></FONT></TD></TR> <TR> <TD width=400 colSpan=2><FONT id=L_defaultr_6 style="FONT: 8pt/11pt verdana; COLOR: #000000"> <HR color=#c0c0c0 noShade> <P id=L_defaultr_7><B>Try the following:</B></P> <UL> <LI id=L_defaultr_8><B>Refresh page:</B> Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion. <LI id=L_defaultr_9><B>Check spelling:</B> Check that you typed the Web page address correctly. The address may have been mistyped. <LI id=L_defaultr_10><B>Access from a link:</B> If there is a link to the page you are looking for, try accessing the page from that link. </UL> <HR color=#c0c0c0 noShade> <P id=L_defaultr_11>Technical Information (for support personnel)</P> <UL> <LI id=L_defaultr_12>Error Code: 401 Unauthorized. The server requires authorization to fulfill the request. Access to the Web server is denied. Contact the server administrator. (12209) </UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML> SOAP::Deserializer::deserialize: () SOAP::Parser::decode: () 401 Unauthorized ( The server requires authorization to fulfill the request. Access to the Web server is denied. Contact the server administrator. ) at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 SOAP::Lite::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP::Parser::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Transport::HTTP::Client::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () ################################################ Marco On Sat, Feb 12, 2011 at 4:29 PM, warren via RT < bug-Email-Folder-Exchange@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > > Could you try the Email::Folder::Exchange::EWS module directly? > > Also, when executing, please send the trace by adding > > use SOAP::Lite; > SOAP::Lite->import('trace' => 'all'); > > to the top of your script. > > -Warren > > ----- Original Message ----- > From: "marco zucchelli via RT" <bug-Email-Folder-Exchange@rt.cpan.org> > Sent: Saturday, February 12, 2011 1:50:26 AM > Subject: Re: [rt.cpan.org #65645] bug report > > Queue: Email-Folder-Exchange > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > > Thanks a lot for your answer! > > I does not work anyway, exactly the same error: > > Can it be a redirect? > > when i put in the browser: > > http://server.com > > i am redirected to: > > https://server.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=5 > > > If i put this address, the script prints out the http code of the page, but > also some syntax errors: > > syntax error at line 1, column 61, byte 61 at /usr/lib/perl5/XML/Parser.pm > line 187 > > ..... > http code of the page > ...... > > at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > > > I am a little lost ... > > Thanks > > Marco > > > On Sat, Feb 12, 2011 at 1:08 AM, warren via RT < > bug-Email-Folder-Exchange@rt.cpan.org> wrote: >
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > > > > Remember the user is domain\user > > > > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: > >
> > >Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. > > >Transaction: Ticket created by marco.zucchelli@gmail.com > > > Queue: Email-Folder-Exchange > > > Subject: bug report > > > Broken in: (no value) > > > Severity: (no value) > > > Owner: Nobody > > > Requestors: marco.zucchelli@gmail.com > > > Status: new > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > > > > > > > > >Dear List, > > > > > > i cannot use the module to connect to OWA 2010: > > > > > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa', > > >'user', ' > > >pwd'); > > > > > > > > >401 Unauthorized ( The server requires authorization to fulfill the
> > request.
> > >Access to the Web server is denied. Contact the server administrator. )
> > at
> > >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > > > > > > > > >Am I doing something wrong? > > > > > >Marco > > > > > >perl -v > > > > > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > > > > > > > > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 > > >GNU/Linux > > > > > >Email-Folder-Exchange-2.0 > > >
> > > >
> > >

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #65645] bug report
Date: Sat, 12 Feb 2011 18:04:30 -0600
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: Warren <warren [...] warrenandrachel.com>
I had a thought; are you double-backslashing between the domain and user? Like "domain\\user"; remember that backslash is special in perl. marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: Show quoted text
> Queue: Email-Folder-Exchange > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > >Dear Warren, > > same problem. The output of SOAP is below. Does it say something to you ? > >SOAP::Transport::new: () >SOAP::Serializer::new: () >SOAP::Deserializer::new: () >SOAP::Parser::new: () >SOAP::Lite::new: () >SOAP::Transport::HTTP::Client::new: () >SOAP::Data::new: () >SOAP::Data::new: () >SOAP::Data::new: () >SOAP::Data::new: () >SOAP::Lite::call: () >SOAP::Serializer::envelope: () >SOAP::Serializer::envelope: GetFolder SOAP::Data=HASH(0x2c7ccb0) >SOAP::Data=HASH(0x2d315e8) >SOAP::Data::new: () >SOAP::Data::new: () >SOAP::Data::new: () >SOAP::Data::new: () >SOAP::Data::new: () >SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x2d49640) >SOAP::Transport::HTTP::Client::send_receive: POST https://myserver.com/HTTP/1.1 >Accept: text/xml >Accept: multipart/* >Accept: application/soap >Content-Length: 528 >Content-Type: text/xml; charset=utf-8 >SOAPAction: >http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder > ><?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi=" >http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" >http://www.w3.org/2001/XMLSchema" xmlns:soap=" >http://schemas.xmlsoap.org/soap/envelope/" xmlns:t=" >http://schemas.microsoft.com/exchange/services/2006/types"><soap:Body><GetFolder >xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"><FolderShape><t:BaseShape>Default</t:BaseShape></FolderShape><FolderIds><t:DistinguishedFolderId >Id="inbox" /></FolderIds></GetFolder></soap:Body></soap:Envelope> >SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x2f8bb40) >SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 401 Unauthorized ( The >server requires authorization to fulfill the request. Access to the Web >server is denied. Contact the server administrator. ) >Cache-Control: no-cache >Connection: Keep-Alive >Pragma: no-cache >WWW-Authenticate: Basic Realm="myserver.com" >Content-Length: 2057 >Content-Type: text/html >Client-Date: Sat, 12 Feb 2011 15:40:27 GMT >Client-Peer: 130.237.99.154:443 >Client-Response-Num: 1 >Client-SSL-Cert-Issuer: /C=NL/O=TERENA/CN=TERENA SSL CA >Client-SSL-Cert-Subject: /C=SE/O=my org/OU=UF/CN=myserver.com >Client-SSL-Cipher: RC4-MD5 >Client-SSL-Warning: Peer certificate not verified >Title: The page cannot be displayed >X-Meta-GENERATOR: MSHTML 5.50.4522.1800 >X-Meta-ROBOTS: NOINDEX > ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> ><HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE> ><STYLE id=L_defaultr_1>A:link { > FONT: 8pt/11pt verdana; COLOR: #ff0000 >} >A:visited { > FONT: 8pt/11pt verdana; COLOR: #4e4e4e >} ></STYLE> > ><META content=NOINDEX name=ROBOTS> ><META http-equiv=Content-Type content="text-html; charset=UTF-8"> > ><META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD> ><BODY bgColor=#ffffff> ><TABLE cellSpacing=5 cellPadding=3 width=410> > <TBODY> > <TR> > <TD vAlign=center align=left width=360> > <H1 id=L_defaultr_2 style="FONT: 13pt/15pt verdana; COLOR: >#000000"><ID id=L_defaultr_3><!--Problem-->The page cannot be displayed ></ID></H1></TD></TR> > <TR> > <TD width=400 colSpan=2><FONT id=L_defaultr_4 > style="FONT: 8pt/11pt verdana; COLOR: #000000"><ID >id=L_defaultr_5><B>Explanation: </B>There is a problem with the page you are >trying to reach and it cannot be displayed.</ID></FONT></TD></TR> > <TR> > <TD width=400 colSpan=2><FONT id=L_defaultr_6 > style="FONT: 8pt/11pt verdana; COLOR: #000000"> > <HR color=#c0c0c0 noShade> > > <P id=L_defaultr_7><B>Try the following:</B></P> > <UL> > <LI id=L_defaultr_8><B>Refresh page:</B> Search for the page again >by clicking the Refresh button. The timeout may have occurred due to >Internet congestion. ><LI id=L_defaultr_9><B>Check spelling:</B> Check that you typed the Web page >address correctly. The address may have been mistyped. ><LI id=L_defaultr_10><B>Access from a link:</B> If there is a link to the >page you are looking for, try accessing the page from that link. > > </UL> > <HR color=#c0c0c0 noShade> > > <P id=L_defaultr_11>Technical Information (for support personnel)</P> > <UL> > <LI id=L_defaultr_12>Error Code: 401 Unauthorized. The server >requires authorization to fulfill the request. Access to the Web server is >denied. Contact the server administrator. (12209) > > </UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML> > >SOAP::Deserializer::deserialize: () >SOAP::Parser::decode: () >401 Unauthorized ( The server requires authorization to fulfill the request. >Access to the Web server is denied. Contact the server administrator. ) at >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 >SOAP::Lite::DESTROY: () >SOAP::Serializer::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Deserializer::DESTROY: () >SOAP::Parser::DESTROY: () >SOAP::Transport::DESTROY: () >SOAP::Transport::HTTP::Client::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Data::DESTROY: () >SOAP::Data::DESTROY: () >################################################ > >Marco > > >On Sat, Feb 12, 2011 at 4:29 PM, warren via RT < >bug-Email-Folder-Exchange@rt.cpan.org> wrote: >
>> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > >> >> Could you try the Email::Folder::Exchange::EWS module directly? >> >> Also, when executing, please send the trace by adding >> >> use SOAP::Lite; >> SOAP::Lite->import('trace' => 'all'); >> >> to the top of your script. >> >> -Warren >> >> ----- Original Message ----- >> From: "marco zucchelli via RT" <bug-Email-Folder-Exchange@rt.cpan.org> >> Sent: Saturday, February 12, 2011 1:50:26 AM >> Subject: Re: [rt.cpan.org #65645] bug report >> >> Queue: Email-Folder-Exchange >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > >> >> Thanks a lot for your answer! >> >> I does not work anyway, exactly the same error: >> >> Can it be a redirect? >> >> when i put in the browser: >> >> http://server.com >> >> i am redirected to: >> >> https://server.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=5 >> >> >> If i put this address, the script prints out the http code of the page, but >> also some syntax errors: >> >> syntax error at line 1, column 61, byte 61 at /usr/lib/perl5/XML/Parser.pm >> line 187 >> >> ..... >> http code of the page >> ...... >> >> at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 >> >> >> I am a little lost ... >> >> Thanks >> >> Marco >> >> >> On Sat, Feb 12, 2011 at 1:08 AM, warren via RT < >> bug-Email-Folder-Exchange@rt.cpan.org> wrote: >>
>> > <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > >> > >> > Remember the user is domain\user >> > >> > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: >> >
>> > >Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. >> > >Transaction: Ticket created by marco.zucchelli@gmail.com >> > > Queue: Email-Folder-Exchange >> > > Subject: bug report >> > > Broken in: (no value) >> > > Severity: (no value) >> > > Owner: Nobody >> > > Requestors: marco.zucchelli@gmail.com >> > > Status: new >> > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > >> > > >> > > >> > >Dear List, >> > > >> > > i cannot use the module to connect to OWA 2010: >> > > >> > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa', >> > >'user', ' >> > >pwd'); >> > > >> > > >> > >401 Unauthorized ( The server requires authorization to fulfill the
>> > request.
>> > >Access to the Web server is denied. Contact the server administrator. )
>> > at
>> > >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 >> > > >> > > >> > >Am I doing something wrong? >> > > >> > >Marco >> > > >> > >perl -v >> > > >> > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi >> > > >> > > >> > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 >> > >GNU/Linux >> > > >> > >Email-Folder-Exchange-2.0 >> > >
>> > >> >
>> >> >>
>
Subject: Re: [rt.cpan.org #65645] bug report
Date: Sun, 13 Feb 2011 09:30:15 +0100
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: marco zucchelli <marco.zucchelli [...] gmail.com>
Dear Warren, I tried with all the variants 1. username 2. domain\username 3. domain\\username but the result is always the same. Marco On Sun, Feb 13, 2011 at 1:04 AM, warren via RT < bug-Email-Folder-Exchange@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > > I had a thought; are you double-backslashing between the domain and user? > Like "domain\\user"; remember that backslash is special in perl. > > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: >
> > Queue: Email-Folder-Exchange > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > > > >Dear Warren, > > > > same problem. The output of SOAP is below. Does it say something to you
> ?
> > > >SOAP::Transport::new: () > >SOAP::Serializer::new: () > >SOAP::Deserializer::new: () > >SOAP::Parser::new: () > >SOAP::Lite::new: () > >SOAP::Transport::HTTP::Client::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Lite::call: () > >SOAP::Serializer::envelope: () > >SOAP::Serializer::envelope: GetFolder SOAP::Data=HASH(0x2c7ccb0) > >SOAP::Data=HASH(0x2d315e8) > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x2d49640) > >SOAP::Transport::HTTP::Client::send_receive: POST
> https://myserver.com/HTTP/1.1
> >Accept: text/xml > >Accept: multipart/* > >Accept: application/soap > >Content-Length: 528 > >Content-Type: text/xml; charset=utf-8 > >SOAPAction: > >http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder > > > ><?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi=" > >http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" > >http://www.w3.org/2001/XMLSchema" xmlns:soap=" > >http://schemas.xmlsoap.org/soap/envelope/" xmlns:t=" > >http://schemas.microsoft.com/exchange/services/2006/types
> "><soap:Body><GetFolder > "><FolderShape><t:BaseShape>Default</t:BaseShape></FolderShape><FolderIds><t:DistinguishedFolderId
> >Id="inbox" /></FolderIds></GetFolder></soap:Body></soap:Envelope> > >SOAP::Transport::HTTP::Client::send_receive:
> HTTP::Response=HASH(0x2f8bb40)
> >SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 401 Unauthorized (
> The
> >server requires authorization to fulfill the request. Access to the Web > >server is denied. Contact the server administrator. ) > >Cache-Control: no-cache > >Connection: Keep-Alive > >Pragma: no-cache > >WWW-Authenticate: Basic Realm="myserver.com" > >Content-Length: 2057 > >Content-Type: text/html > >Client-Date: Sat, 12 Feb 2011 15:40:27 GMT > >Client-Peer: 130.237.99.154:443 > >Client-Response-Num: 1 > >Client-SSL-Cert-Issuer: /C=NL/O=TERENA/CN=TERENA SSL CA > >Client-SSL-Cert-Subject: /C=SE/O=my org/OU=UF/CN=myserver.com > >Client-SSL-Cipher: RC4-MD5 > >Client-SSL-Warning: Peer certificate not verified > >Title: The page cannot be displayed > >X-Meta-GENERATOR: MSHTML 5.50.4522.1800 > >X-Meta-ROBOTS: NOINDEX > > > ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > ><HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE> > ><STYLE id=L_defaultr_1>A:link { > > FONT: 8pt/11pt verdana; COLOR: #ff0000 > >} > >A:visited { > > FONT: 8pt/11pt verdana; COLOR: #4e4e4e > >} > ></STYLE> > > > ><META content=NOINDEX name=ROBOTS> > ><META http-equiv=Content-Type content="text-html; charset=UTF-8"> > > > ><META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD> > ><BODY bgColor=#ffffff> > ><TABLE cellSpacing=5 cellPadding=3 width=410> > > <TBODY> > > <TR> > > <TD vAlign=center align=left width=360> > > <H1 id=L_defaultr_2 style="FONT: 13pt/15pt verdana; COLOR: > >#000000"><ID id=L_defaultr_3><!--Problem-->The page cannot be displayed > ></ID></H1></TD></TR> > > <TR> > > <TD width=400 colSpan=2><FONT id=L_defaultr_4 > > style="FONT: 8pt/11pt verdana; COLOR: #000000"><ID > >id=L_defaultr_5><B>Explanation: </B>There is a problem with the page you
> are
> >trying to reach and it cannot be displayed.</ID></FONT></TD></TR> > > <TR> > > <TD width=400 colSpan=2><FONT id=L_defaultr_6 > > style="FONT: 8pt/11pt verdana; COLOR: #000000"> > > <HR color=#c0c0c0 noShade> > > > > <P id=L_defaultr_7><B>Try the following:</B></P> > > <UL> > > <LI id=L_defaultr_8><B>Refresh page:</B> Search for the page again > >by clicking the Refresh button. The timeout may have occurred due to > >Internet congestion. > ><LI id=L_defaultr_9><B>Check spelling:</B> Check that you typed the Web
> page
> >address correctly. The address may have been mistyped. > ><LI id=L_defaultr_10><B>Access from a link:</B> If there is a link to the > >page you are looking for, try accessing the page from that link. > > > > </UL> > > <HR color=#c0c0c0 noShade> > > > > <P id=L_defaultr_11>Technical Information (for support
> personnel)</P>
> > <UL> > > <LI id=L_defaultr_12>Error Code: 401 Unauthorized. The server > >requires authorization to fulfill the request. Access to the Web server is > >denied. Contact the server administrator. (12209) > > > > </UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML> > > > >SOAP::Deserializer::deserialize: () > >SOAP::Parser::decode: () > >401 Unauthorized ( The server requires authorization to fulfill the
> request.
> >Access to the Web server is denied. Contact the server administrator. )
> at
> >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > >SOAP::Lite::DESTROY: () > >SOAP::Serializer::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Deserializer::DESTROY: () > >SOAP::Parser::DESTROY: () > >SOAP::Transport::DESTROY: () > >SOAP::Transport::HTTP::Client::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >################################################ > > > >Marco > > > > > >On Sat, Feb 12, 2011 at 4:29 PM, warren via RT < > >bug-Email-Folder-Exchange@rt.cpan.org> wrote: > >
> >> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > >> Could you try the Email::Folder::Exchange::EWS module directly? > >> > >> Also, when executing, please send the trace by adding > >> > >> use SOAP::Lite; > >> SOAP::Lite->import('trace' => 'all'); > >> > >> to the top of your script. > >> > >> -Warren > >> > >> ----- Original Message ----- > >> From: "marco zucchelli via RT" <bug-Email-Folder-Exchange@rt.cpan.org> > >> Sent: Saturday, February 12, 2011 1:50:26 AM > >> Subject: Re: [rt.cpan.org #65645] bug report > >> > >> Queue: Email-Folder-Exchange > >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > >> Thanks a lot for your answer! > >> > >> I does not work anyway, exactly the same error: > >> > >> Can it be a redirect? > >> > >> when i put in the browser: > >> > >> http://server.com > >> > >> i am redirected to: > >> > >>
> https://server.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=5
> >> > >> > >> If i put this address, the script prints out the http code of the page,
> but
> >> also some syntax errors: > >> > >> syntax error at line 1, column 61, byte 61 at
> /usr/lib/perl5/XML/Parser.pm
> >> line 187 > >> > >> ..... > >> http code of the page > >> ...... > >> > >> at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > >> > >> > >> I am a little lost ... > >> > >> Thanks > >> > >> Marco > >> > >> > >> On Sat, Feb 12, 2011 at 1:08 AM, warren via RT < > >> bug-Email-Folder-Exchange@rt.cpan.org> wrote: > >>
> >> > <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > > >> > Remember the user is domain\user > >> > > >> > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: > >> >
> >> > >Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. > >> > >Transaction: Ticket created by marco.zucchelli@gmail.com > >> > > Queue: Email-Folder-Exchange > >> > > Subject: bug report > >> > > Broken in: (no value) > >> > > Severity: (no value) > >> > > Owner: Nobody > >> > > Requestors: marco.zucchelli@gmail.com > >> > > Status: new > >> > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > > > >> > > > >> > >Dear List, > >> > > > >> > > i cannot use the module to connect to OWA 2010: > >> > > > >> > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa
> ',
> >> > >'user', ' > >> > >pwd'); > >> > > > >> > > > >> > >401 Unauthorized ( The server requires authorization to fulfill the
> >> > request.
> >> > >Access to the Web server is denied. Contact the server administrator.
> )
> >> > at
> >> > >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > >> > > > >> > > > >> > >Am I doing something wrong? > >> > > > >> > >Marco > >> > > > >> > >perl -v > >> > > > >> > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > >> > > > >> > > > >> > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 > >> > >GNU/Linux > >> > > > >> > >Email-Folder-Exchange-2.0 > >> > >
> >> > > >> >
> >> > >> > >>
> >
> >

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #65645] bug report
Date: Sun, 13 Feb 2011 13:24:05 -0600
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: Warren <warren [...] warrenandrachel.com>
I'm out of ideas. Would you be available for a phone call? marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: Show quoted text
> Queue: Email-Folder-Exchange > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > >Dear Warren, > > I tried with all the variants > >1. username >2. domain\username >3. domain\\username > >but the result is always the same. > >Marco > >On Sun, Feb 13, 2011 at 1:04 AM, warren via RT < >bug-Email-Folder-Exchange@rt.cpan.org> wrote: >
>> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > >> >> I had a thought; are you double-backslashing between the domain and user? >> Like "domain\\user"; remember that backslash is special in perl. >> >> marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: >>
>> > Queue: Email-Folder-Exchange >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > >> > >> >Dear Warren, >> > >> > same problem. The output of SOAP is below. Does it say something to you
>> ?
>> > >> >SOAP::Transport::new: () >> >SOAP::Serializer::new: () >> >SOAP::Deserializer::new: () >> >SOAP::Parser::new: () >> >SOAP::Lite::new: () >> >SOAP::Transport::HTTP::Client::new: () >> >SOAP::Data::new: () >> >SOAP::Data::new: () >> >SOAP::Data::new: () >> >SOAP::Data::new: () >> >SOAP::Lite::call: () >> >SOAP::Serializer::envelope: () >> >SOAP::Serializer::envelope: GetFolder SOAP::Data=HASH(0x2c7ccb0) >> >SOAP::Data=HASH(0x2d315e8) >> >SOAP::Data::new: () >> >SOAP::Data::new: () >> >SOAP::Data::new: () >> >SOAP::Data::new: () >> >SOAP::Data::new: () >> >SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x2d49640) >> >SOAP::Transport::HTTP::Client::send_receive: POST
>> https://myserver.com/HTTP/1.1
>> >Accept: text/xml >> >Accept: multipart/* >> >Accept: application/soap >> >Content-Length: 528 >> >Content-Type: text/xml; charset=utf-8 >> >SOAPAction: >> >http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder >> > >> ><?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi=" >> >http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" >> >http://www.w3.org/2001/XMLSchema" xmlns:soap=" >> >http://schemas.xmlsoap.org/soap/envelope/" xmlns:t=" >> >http://schemas.microsoft.com/exchange/services/2006/types
>> "><soap:Body><GetFolder >> "><FolderShape><t:BaseShape>Default</t:BaseShape></FolderShape><FolderIds><t:DistinguishedFolderId
>> >Id="inbox" /></FolderIds></GetFolder></soap:Body></soap:Envelope> >> >SOAP::Transport::HTTP::Client::send_receive:
>> HTTP::Response=HASH(0x2f8bb40)
>> >SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 401 Unauthorized (
>> The
>> >server requires authorization to fulfill the request. Access to the Web >> >server is denied. Contact the server administrator. ) >> >Cache-Control: no-cache >> >Connection: Keep-Alive >> >Pragma: no-cache >> >WWW-Authenticate: Basic Realm="myserver.com" >> >Content-Length: 2057 >> >Content-Type: text/html >> >Client-Date: Sat, 12 Feb 2011 15:40:27 GMT >> >Client-Peer: 130.237.99.154:443 >> >Client-Response-Num: 1 >> >Client-SSL-Cert-Issuer: /C=NL/O=TERENA/CN=TERENA SSL CA >> >Client-SSL-Cert-Subject: /C=SE/O=my org/OU=UF/CN=myserver.com >> >Client-SSL-Cipher: RC4-MD5 >> >Client-SSL-Warning: Peer certificate not verified >> >Title: The page cannot be displayed >> >X-Meta-GENERATOR: MSHTML 5.50.4522.1800 >> >X-Meta-ROBOTS: NOINDEX >> > >> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >> ><HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE> >> ><STYLE id=L_defaultr_1>A:link { >> > FONT: 8pt/11pt verdana; COLOR: #ff0000 >> >} >> >A:visited { >> > FONT: 8pt/11pt verdana; COLOR: #4e4e4e >> >} >> ></STYLE> >> > >> ><META content=NOINDEX name=ROBOTS> >> ><META http-equiv=Content-Type content="text-html; charset=UTF-8"> >> > >> ><META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD> >> ><BODY bgColor=#ffffff> >> ><TABLE cellSpacing=5 cellPadding=3 width=410> >> > <TBODY> >> > <TR> >> > <TD vAlign=center align=left width=360> >> > <H1 id=L_defaultr_2 style="FONT: 13pt/15pt verdana; COLOR: >> >#000000"><ID id=L_defaultr_3><!--Problem-->The page cannot be displayed >> ></ID></H1></TD></TR> >> > <TR> >> > <TD width=400 colSpan=2><FONT id=L_defaultr_4 >> > style="FONT: 8pt/11pt verdana; COLOR: #000000"><ID >> >id=L_defaultr_5><B>Explanation: </B>There is a problem with the page you
>> are
>> >trying to reach and it cannot be displayed.</ID></FONT></TD></TR> >> > <TR> >> > <TD width=400 colSpan=2><FONT id=L_defaultr_6 >> > style="FONT: 8pt/11pt verdana; COLOR: #000000"> >> > <HR color=#c0c0c0 noShade> >> > >> > <P id=L_defaultr_7><B>Try the following:</B></P> >> > <UL> >> > <LI id=L_defaultr_8><B>Refresh page:</B> Search for the page again >> >by clicking the Refresh button. The timeout may have occurred due to >> >Internet congestion. >> ><LI id=L_defaultr_9><B>Check spelling:</B> Check that you typed the Web
>> page
>> >address correctly. The address may have been mistyped. >> ><LI id=L_defaultr_10><B>Access from a link:</B> If there is a link to the >> >page you are looking for, try accessing the page from that link. >> > >> > </UL> >> > <HR color=#c0c0c0 noShade> >> > >> > <P id=L_defaultr_11>Technical Information (for support
>> personnel)</P>
>> > <UL> >> > <LI id=L_defaultr_12>Error Code: 401 Unauthorized. The server >> >requires authorization to fulfill the request. Access to the Web server is >> >denied. Contact the server administrator. (12209) >> > >> > </UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML> >> > >> >SOAP::Deserializer::deserialize: () >> >SOAP::Parser::decode: () >> >401 Unauthorized ( The server requires authorization to fulfill the
>> request.
>> >Access to the Web server is denied. Contact the server administrator. )
>> at
>> >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 >> >SOAP::Lite::DESTROY: () >> >SOAP::Serializer::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Deserializer::DESTROY: () >> >SOAP::Parser::DESTROY: () >> >SOAP::Transport::DESTROY: () >> >SOAP::Transport::HTTP::Client::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Data::DESTROY: () >> >SOAP::Data::DESTROY: () >> >################################################ >> > >> >Marco >> > >> > >> >On Sat, Feb 12, 2011 at 4:29 PM, warren via RT < >> >bug-Email-Folder-Exchange@rt.cpan.org> wrote: >> >
>> >> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > >> >> >> >> Could you try the Email::Folder::Exchange::EWS module directly? >> >> >> >> Also, when executing, please send the trace by adding >> >> >> >> use SOAP::Lite; >> >> SOAP::Lite->import('trace' => 'all'); >> >> >> >> to the top of your script. >> >> >> >> -Warren >> >> >> >> ----- Original Message ----- >> >> From: "marco zucchelli via RT" <bug-Email-Folder-Exchange@rt.cpan.org> >> >> Sent: Saturday, February 12, 2011 1:50:26 AM >> >> Subject: Re: [rt.cpan.org #65645] bug report >> >> >> >> Queue: Email-Folder-Exchange >> >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > >> >> >> >> Thanks a lot for your answer! >> >> >> >> I does not work anyway, exactly the same error: >> >> >> >> Can it be a redirect? >> >> >> >> when i put in the browser: >> >> >> >> http://server.com >> >> >> >> i am redirected to: >> >> >> >>
>> https://server.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=5
>> >> >> >> >> >> If i put this address, the script prints out the http code of the page,
>> but
>> >> also some syntax errors: >> >> >> >> syntax error at line 1, column 61, byte 61 at
>> /usr/lib/perl5/XML/Parser.pm
>> >> line 187 >> >> >> >> ..... >> >> http code of the page >> >> ...... >> >> >> >> at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 >> >> >> >> >> >> I am a little lost ... >> >> >> >> Thanks >> >> >> >> Marco >> >> >> >> >> >> On Sat, Feb 12, 2011 at 1:08 AM, warren via RT < >> >> bug-Email-Folder-Exchange@rt.cpan.org> wrote: >> >>
>> >> > <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > >> >> > >> >> > Remember the user is domain\user >> >> > >> >> > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: >> >> >
>> >> > >Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. >> >> > >Transaction: Ticket created by marco.zucchelli@gmail.com >> >> > > Queue: Email-Folder-Exchange >> >> > > Subject: bug report >> >> > > Broken in: (no value) >> >> > > Severity: (no value) >> >> > > Owner: Nobody >> >> > > Requestors: marco.zucchelli@gmail.com >> >> > > Status: new >> >> > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > >> >> > > >> >> > > >> >> > >Dear List, >> >> > > >> >> > > i cannot use the module to connect to OWA 2010: >> >> > > >> >> > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa
>> ',
>> >> > >'user', ' >> >> > >pwd'); >> >> > > >> >> > > >> >> > >401 Unauthorized ( The server requires authorization to fulfill the
>> >> > request.
>> >> > >Access to the Web server is denied. Contact the server administrator.
>> )
>> >> > at
>> >> > >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 >> >> > > >> >> > > >> >> > >Am I doing something wrong? >> >> > > >> >> > >Marco >> >> > > >> >> > >perl -v >> >> > > >> >> > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi >> >> > > >> >> > > >> >> > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 >> >> > >GNU/Linux >> >> > > >> >> > >Email-Folder-Exchange-2.0 >> >> > >
>> >> > >> >> >
>> >> >> >> >> >>
>> >
>> >>
>
Subject: Re: [rt.cpan.org #65645] bug report
Date: Wed, 16 Feb 2011 14:27:22 +0000 (UTC)
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: warren [...] warrenandrachel.com
Okay. So, let's run through basics. 1.) Can you log into https://yourserver/EWS/Services.wsdl with the exact same username/password you are providing the module? If not, they there's not much we can do; contact your server administrator. 2.) If you can log into that site, are you presented with an WSDL XML document? If not, your server's configuration is unexpected. Contact your server administrator to find the path to the EWS services and point the module there. 3.) If you can log into your web services, check your perl modules. Are you sure you have NTLM installed? Does this perl snippet return 1.02? If not, you have the wrong Authen::NTLM installed. perl -MAuthen::NTLM -le 'print $Authen::NTLM::VERSION' -Warren Show quoted text
----- Original Message ----- From: "marco zucchelli via RT" <bug-Email-Folder-Exchange@rt.cpan.org> Sent: Sunday, February 13, 2011 2:30:28 AM Subject: Re: [rt.cpan.org #65645] bug report Queue: Email-Folder-Exchange Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > Dear Warren, I tried with all the variants 1. username 2. domain\username 3. domain\\username but the result is always the same. Marco On Sun, Feb 13, 2011 at 1:04 AM, warren via RT < bug-Email-Folder-Exchange@rt.cpan.org> wrote:
> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > > I had a thought; are you double-backslashing between the domain and user? > Like "domain\\user"; remember that backslash is special in perl. > > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: >
> > Queue: Email-Folder-Exchange > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > > > >Dear Warren, > > > > same problem. The output of SOAP is below. Does it say something to you
> ?
> > > >SOAP::Transport::new: () > >SOAP::Serializer::new: () > >SOAP::Deserializer::new: () > >SOAP::Parser::new: () > >SOAP::Lite::new: () > >SOAP::Transport::HTTP::Client::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Lite::call: () > >SOAP::Serializer::envelope: () > >SOAP::Serializer::envelope: GetFolder SOAP::Data=HASH(0x2c7ccb0) > >SOAP::Data=HASH(0x2d315e8) > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Data::new: () > >SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x2d49640) > >SOAP::Transport::HTTP::Client::send_receive: POST
> https://myserver.com/HTTP/1.1
> >Accept: text/xml > >Accept: multipart/* > >Accept: application/soap > >Content-Length: 528 > >Content-Type: text/xml; charset=utf-8 > >SOAPAction: > >http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder > > > ><?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi=" > >http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" > >http://www.w3.org/2001/XMLSchema" xmlns:soap=" > >http://schemas.xmlsoap.org/soap/envelope/" xmlns:t=" > >http://schemas.microsoft.com/exchange/services/2006/types
> "><soap:Body><GetFolder > "><FolderShape><t:BaseShape>Default</t:BaseShape></FolderShape><FolderIds><t:DistinguishedFolderId
> >Id="inbox" /></FolderIds></GetFolder></soap:Body></soap:Envelope> > >SOAP::Transport::HTTP::Client::send_receive:
> HTTP::Response=HASH(0x2f8bb40)
> >SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 401 Unauthorized (
> The
> >server requires authorization to fulfill the request. Access to the Web > >server is denied. Contact the server administrator. ) > >Cache-Control: no-cache > >Connection: Keep-Alive > >Pragma: no-cache > >WWW-Authenticate: Basic Realm="myserver.com" > >Content-Length: 2057 > >Content-Type: text/html > >Client-Date: Sat, 12 Feb 2011 15:40:27 GMT > >Client-Peer: 130.237.99.154:443 > >Client-Response-Num: 1 > >Client-SSL-Cert-Issuer: /C=NL/O=TERENA/CN=TERENA SSL CA > >Client-SSL-Cert-Subject: /C=SE/O=my org/OU=UF/CN=myserver.com > >Client-SSL-Cipher: RC4-MD5 > >Client-SSL-Warning: Peer certificate not verified > >Title: The page cannot be displayed > >X-Meta-GENERATOR: MSHTML 5.50.4522.1800 > >X-Meta-ROBOTS: NOINDEX > > > ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > ><HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE> > ><STYLE id=L_defaultr_1>A:link { > > FONT: 8pt/11pt verdana; COLOR: #ff0000 > >} > >A:visited { > > FONT: 8pt/11pt verdana; COLOR: #4e4e4e > >} > ></STYLE> > > > ><META content=NOINDEX name=ROBOTS> > ><META http-equiv=Content-Type content="text-html; charset=UTF-8"> > > > ><META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD> > ><BODY bgColor=#ffffff> > ><TABLE cellSpacing=5 cellPadding=3 width=410> > > <TBODY> > > <TR> > > <TD vAlign=center align=left width=360> > > <H1 id=L_defaultr_2 style="FONT: 13pt/15pt verdana; COLOR: > >#000000"><ID id=L_defaultr_3><!--Problem-->The page cannot be displayed > ></ID></H1></TD></TR> > > <TR> > > <TD width=400 colSpan=2><FONT id=L_defaultr_4 > > style="FONT: 8pt/11pt verdana; COLOR: #000000"><ID > >id=L_defaultr_5><B>Explanation: </B>There is a problem with the page you
> are
> >trying to reach and it cannot be displayed.</ID></FONT></TD></TR> > > <TR> > > <TD width=400 colSpan=2><FONT id=L_defaultr_6 > > style="FONT: 8pt/11pt verdana; COLOR: #000000"> > > <HR color=#c0c0c0 noShade> > > > > <P id=L_defaultr_7><B>Try the following:</B></P> > > <UL> > > <LI id=L_defaultr_8><B>Refresh page:</B> Search for the page again > >by clicking the Refresh button. The timeout may have occurred due to > >Internet congestion. > ><LI id=L_defaultr_9><B>Check spelling:</B> Check that you typed the Web
> page
> >address correctly. The address may have been mistyped. > ><LI id=L_defaultr_10><B>Access from a link:</B> If there is a link to the > >page you are looking for, try accessing the page from that link. > > > > </UL> > > <HR color=#c0c0c0 noShade> > > > > <P id=L_defaultr_11>Technical Information (for support
> personnel)</P>
> > <UL> > > <LI id=L_defaultr_12>Error Code: 401 Unauthorized. The server > >requires authorization to fulfill the request. Access to the Web server is > >denied. Contact the server administrator. (12209) > > > > </UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML> > > > >SOAP::Deserializer::deserialize: () > >SOAP::Parser::decode: () > >401 Unauthorized ( The server requires authorization to fulfill the
> request.
> >Access to the Web server is denied. Contact the server administrator. )
> at
> >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > >SOAP::Lite::DESTROY: () > >SOAP::Serializer::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Deserializer::DESTROY: () > >SOAP::Parser::DESTROY: () > >SOAP::Transport::DESTROY: () > >SOAP::Transport::HTTP::Client::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >SOAP::Data::DESTROY: () > >################################################ > > > >Marco > > > > > >On Sat, Feb 12, 2011 at 4:29 PM, warren via RT < > >bug-Email-Folder-Exchange@rt.cpan.org> wrote: > >
> >> <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > >> Could you try the Email::Folder::Exchange::EWS module directly? > >> > >> Also, when executing, please send the trace by adding > >> > >> use SOAP::Lite; > >> SOAP::Lite->import('trace' => 'all'); > >> > >> to the top of your script. > >> > >> -Warren > >> > >> ----- Original Message ----- > >> From: "marco zucchelli via RT" <bug-Email-Folder-Exchange@rt.cpan.org> > >> Sent: Saturday, February 12, 2011 1:50:26 AM > >> Subject: Re: [rt.cpan.org #65645] bug report > >> > >> Queue: Email-Folder-Exchange > >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > >> Thanks a lot for your answer! > >> > >> I does not work anyway, exactly the same error: > >> > >> Can it be a redirect? > >> > >> when i put in the browser: > >> > >> http://server.com > >> > >> i am redirected to: > >> > >>
> https://server.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=5
> >> > >> > >> If i put this address, the script prints out the http code of the page,
> but
> >> also some syntax errors: > >> > >> syntax error at line 1, column 61, byte 61 at
> /usr/lib/perl5/XML/Parser.pm
> >> line 187 > >> > >> ..... > >> http code of the page > >> ...... > >> > >> at /usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > >> > >> > >> I am a little lost ... > >> > >> Thanks > >> > >> Marco > >> > >> > >> On Sat, Feb 12, 2011 at 1:08 AM, warren via RT < > >> bug-Email-Folder-Exchange@rt.cpan.org> wrote: > >>
> >> > <URL: http://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > > >> > Remember the user is domain\user > >> > > >> > marco zucchelli via RT <bug-Email-Folder-Exchange@rt.cpan.org> wrote: > >> >
> >> > >Fri Feb 11 12:22:49 2011: Request 65645 was acted upon. > >> > >Transaction: Ticket created by marco.zucchelli@gmail.com > >> > > Queue: Email-Folder-Exchange > >> > > Subject: bug report > >> > > Broken in: (no value) > >> > > Severity: (no value) > >> > > Owner: Nobody > >> > > Requestors: marco.zucchelli@gmail.com > >> > > Status: new > >> > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65645 > > >> > > > >> > > > >> > >Dear List, > >> > > > >> > > i cannot use the module to connect to OWA 2010: > >> > > > >> > >my $folder = Email::Folder::Exchange->new('https://myserver.com/owa
> ',
> >> > >'user', ' > >> > >pwd'); > >> > > > >> > > > >> > >401 Unauthorized ( The server requires authorization to fulfill the
> >> > request.
> >> > >Access to the Web server is denied. Contact the server administrator.
> )
> >> > at
> >> > >/usr/local/share/perl/5.10.0/Email/Folder/Exchange/EWS.pm line 90 > >> > > > >> > > > >> > >Am I doing something wrong? > >> > > > >> > >Marco > >> > > > >> > >perl -v > >> > > > >> > >This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > >> > > > >> > > > >> > > 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 > >> > >GNU/Linux > >> > > > >> > >Email-Folder-Exchange-2.0 > >> > >
> >> > > >> >
> >> > >> > >>
> >
> >
Subject: Re: [rt.cpan.org #65645] bug report
Date: Wed, 16 Feb 2011 18:52:56 +0100
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: marco zucchelli <marco.zucchelli [...] gmail.com>

Message body is not shown because it is too large.

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #65645] bug report
Date: Wed, 16 Feb 2011 21:13:26 +0000 (UTC)
To: bug-Email-Folder-Exchange [...] rt.cpan.org
From: warren [...] warrenandrachel.com

Message body is not shown because it is too large.