Activity log for bug #1228154

Date Who What changed Old value New value Message
2013-09-20 13:42:35 Zoltan Fedor bug added bug
2013-09-20 13:42:58 Zoltan Fedor tags authentication
2013-09-20 13:44:20 Zoltan Fedor description 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 <?xml version="1.0" encoding="UTF-8" standalone="no"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://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:RequestServerVersion 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:SyncFolderHierarchy xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><messages:FolderShape><BaseShape>AllProperties</BaseShape></messages:FolderShape><messages:SyncState>H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In6NX+PX/TXoOfjF+w+P9+/d3znePnlwfLC9f3xyb/vJyZO.........</messages:SyncState></messages:SyncFolderHierarchy></SOAP-ENV:Body></SOAP-ENV:Envelope> > POST /EWS/Exchange.asmx HTTP/1.1 > Soup-Debug-Timestamp: 1379683933 > Soup-Debug: SoupSessionAsync 1 (0x7fa3fcd69de0), ESoapMessage 1 (0x7fa3fc9d6610), SoupSocket 1 (0x7fa3a8008970) > Host: amers1mail.erf.thomson.com > User-Agent: Evolution/3.6.1 > Connection: Keep-Alive > Content-Type: text/xml; charset=utf-8 > Authorization: NTLM TlRMTVNTUAABAAAABYIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA > > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://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:RequestServerVersion 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:SyncFolderHierarchy xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><messages:FolderShape><BaseShape>AllProperties</BaseShape></messages:FolderShape><messages:SyncState>H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In6NX+PX/TXoOfjF+w+P9+/d3znePnlwfLC9f3xyb/vJyZO......</messages:SyncState></messages:SyncFolderHierarchy></SOAP-ENV:Body></SOAP-ENV:Envelope> < HTTP/1.1 401 Unauthorized < Soup-Debug-Timestamp: 1379683933 < Soup-Debug: ESoapMessage 1 (0x7fa3fc9d6610) < Server: Microsoft-IIS/7.5 < Set-Cookie: exchangecookie=f0237b50427446798fed0c798c11621f; expires=Sat, 20-Sep-2014 13:32:13 GMT; path=/; HttpOnly < X-Powered-By: ASP.NET < Date: Fri, 20 Sep 2013 13:32:12 GMT < Content-Length: 0 I'm using evolution-ews (3.6.1) 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 <?xml version="1.0" encoding="UTF-8" standalone="no"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://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:RequestServerVersion 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:SyncFolderHierarchy xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><messages:FolderShape><BaseShape>AllProperties</BaseShape></messages:FolderShape><messages:SyncState>H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In6NX+PX/TXoOfjF+w+P9+/d3znePnlwfLC9f3xyb/vJyZO.........</messages:SyncState></messages:SyncFolderHierarchy></SOAP-ENV:Body></SOAP-ENV:Envelope> > POST /EWS/Exchange.asmx HTTP/1.1 > Soup-Debug-Timestamp: 1379683933 > Soup-Debug: SoupSessionAsync 1 (0x7fa3fcd69de0), ESoapMessage 1 (0x7fa3fc9d6610), SoupSocket 1 (0x7fa3a8008970) > Host: amers1mail.erf.thomson.com > User-Agent: Evolution/3.6.1 > Connection: Keep-Alive > Content-Type: text/xml; charset=utf-8 > Authorization: NTLM TlRMTVNTUAABAAAABYIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA > > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://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:RequestServerVersion 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:SyncFolderHierarchy xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><messages:FolderShape><BaseShape>AllProperties</BaseShape></messages:FolderShape><messages:SyncState>H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In6NX+PX/TXoOfjF+w+P9+/d3znePnlwfLC9f3xyb/vJyZO......</messages:SyncState></messages:SyncFolderHierarchy></SOAP-ENV:Body></SOAP-ENV:Envelope> < HTTP/1.1 401 Unauthorized < Soup-Debug-Timestamp: 1379683933 < Soup-Debug: ESoapMessage 1 (0x7fa3fc9d6610) < Server: Microsoft-IIS/7.5 < Set-Cookie: exchangecookie=f0237b50427446798fed0c798c11621f; expires=Sat, 20-Sep-2014 13:32:13 GMT; path=/; HttpOnly < X-Powered-By: ASP.NET < Date: Fri, 20 Sep 2013 13:32:12 GMT < Content-Length: 0
2013-09-21 16:14:52 Launchpad Janitor evolution-ews (Ubuntu): status New Confirmed
2013-10-21 12:35:32 Phil Underhill bug added subscriber Phil Underhill
2014-07-08 04:52:01 Abhishek L bug added subscriber Abhishek L
2014-10-28 12:14:05 Sebastián Perruolo bug added subscriber Sebastián Perruolo
2015-04-28 20:13:26 Emre bug added subscriber Emre
2015-07-23 17:29:12 reye bug added subscriber reye
2015-12-28 09:42:56 Ralph Leermakers bug added subscriber Ralph Leermakers