>
>
>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:
>>
>> ?
>> >
>> >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
>> "><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
>> >> > >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >
>>
>>