I'm using evolution-ews to connect to MS Exchange but the problem is that frequently reports "password is incorrect" when in fact I entered the correct password.
I'm saying frequently, which means I need to try 40-50 times to get in once. I don't really get a feel of what is changing when it let's me in. I need to restart Evolution many times and try the password many times and once it just works.
If I connect to https://[server]/EWS/Exchange.asmx directly from the browser, then I have no problem authenticating.
I have tried EWS_DEBUG=2 evolution, but all I see that the SOAP request is sent and I receive "Unauthorized" as a response.
Below are the debug details (I have shortened the SyncState hash in the xml):
I'm using evolution-ews to connect to MS Exchange but the problem is that frequently reports "password is incorrect" when in fact I entered the correct password.
I'm saying frequently, which means I need to try 40-50 times to get in once. I don't really get a feel of what is changing when it let's me in. I need to restart Evolution many times and try the password many times and once it just works.
If I connect to https://[server] /EWS/Exchange. asmx directly from the browser, then I have no problem authenticating.
I have tried EWS_DEBUG=2 evolution, but all I see that the SOAP request is sent and I receive "Unauthorized" as a response.
Below are the debug details (I have shortened the SyncState hash in the xml):
The request headers schemas. xmlsoap. org/soap/ envelope/" xmlns:SOAP-ENC="http:// schemas. xmlsoap. org/soap/ encoding/" xmlns:xsd="http:// www.w3. org/2001/ XMLSchema" xmlns:xsi="http:// www.w3. org/2001/ XMLSchema- instance"><SOAP- ENV:Header> <types: RequestServerVe rsion xmlns:types="http:// schemas. microsoft. com/exchange/ services/ 2006/types" Version= "Exchange2007_ SP1"/>< /SOAP-ENV: Header> <SOAP-ENV: Body xmlns:messages="http:// schemas. microsoft. com/exchange/ services/ 2006/messages"><messages: SyncFolderHiera rchy xmlns="http:// schemas. microsoft. com/exchange/ services/ 2006/types"><messages: FolderShape> <BaseShape> AllProperties< /BaseShape> </messages: FolderShape> <messages: SyncState> H4sIAAAAAAAEAO2 9B2AcSZYlJi9tyn t/SvVK1+ B0oQiAYBMk2JBAE OzBiM3mkuwdaUcj KasqgcplVmVdZhZ AzO2dvPfee+ +999577733ujudT if33/8/ XGZkAWz2zkrayZ4 hgKrIHz9+ fB8/In6NX+ PX/TXoOfjF+ w+P9+/d3znePnlw fLC9f3xyb/ vJyZO.. ....... </messages: SyncState> </messages: SyncFolderHiera rchy></ SOAP-ENV: Body></ SOAP-ENV: Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://
> POST /EWS/Exchange.asmx HTTP/1.1 Timestamp: 1379683933 erf.thomson. com ABYIAAAAAAAAAAA AAAAAAAAAAAAAAA AAAMAAAAAAAAAAw AAAA schemas. xmlsoap. org/soap/ envelope/" xmlns:SOAP-ENC="http:// schemas. xmlsoap. org/soap/ encoding/" xmlns:xsd="http:// www.w3. org/2001/ XMLSchema" xmlns:xsi="http:// www.w3. org/2001/ XMLSchema- instance"><SOAP- ENV:Header> <types: RequestServerVe rsion xmlns:types="http:// schemas. microsoft. com/exchange/ services/ 2006/types" Version= "Exchange2007_ SP1"/>< /SOAP-ENV: Header> <SOAP-ENV: Body xmlns:messages="http:// schemas. microsoft. com/exchange/ services/ 2006/messages"><messages: SyncFolderHiera rchy xmlns="http:// schemas. microsoft. com/exchange/ services/ 2006/types"><messages: FolderShape> <BaseShape> AllProperties< /BaseShape> </messages: FolderShape> <messages: SyncState> H4sIAAAAAAAEAO2 9B2AcSZYlJi9tyn t/SvVK1+ B0oQiAYBMk2JBAE OzBiM3mkuwdaUcj KasqgcplVmVdZhZ AzO2dvPfee+ +999577733ujudT if33/8/ XGZkAWz2zkrayZ4 hgKrIHz9+ fB8/In6NX+ PX/TXoOfjF+ w+P9+/d3znePnlw fLC9f3xyb/ vJyZO.. ....</messages: SyncState> </messages: SyncFolderHiera rchy></ SOAP-ENV: Body></ SOAP-ENV: Envelope>
> Soup-Debug-
> Soup-Debug: SoupSessionAsync 1 (0x7fa3fcd69de0), ESoapMessage 1 (0x7fa3fc9d6610), SoupSocket 1 (0x7fa3a8008970)
> Host: amers1mail.
> User-Agent: Evolution/3.6.1
> Connection: Keep-Alive
> Content-Type: text/xml; charset=utf-8
> Authorization: NTLM TlRMTVNTUAABAAA
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://
< HTTP/1.1 401 Unauthorized Timestamp: 1379683933 f0237b504274467 98fed0c798c1162 1f; expires=Sat, 20-Sep-2014 13:32:13 GMT; path=/; HttpOnly
< Soup-Debug-
< Soup-Debug: ESoapMessage 1 (0x7fa3fc9d6610)
< Server: Microsoft-IIS/7.5
< Set-Cookie: exchangecookie=
< X-Powered-By: ASP.NET
< Date: Fri, 20 Sep 2013 13:32:12 GMT
< Content-Length: 0