Hello,

hopefully, I'm at the right place here:

I'm trying to connect Evolution to an Exchange 2016 server.
Adding the account in Evolution seems to work and also the folders
(including the number of unread messages) are listed. As soon as I
select a folder, I get the error:

""
Failed to refresh folder “Exchange : Posteingang”.
The reported error was “Authentication failed”.
""

Attached is the output of
EWS_DEBUG=2 /usr/lib/evolution/evolution-source-registry

My system is an Ubuntu 18.04 with Evolution (including evolution-ews)
3.28.1 and libsoup2.4 2.62.1 installed.

I already tried to

 - move /usr/bin/ntlm_auth away
 - uninstall samba
 - uninstall winbind
 - install evolution-ews from master
 - install libsoup from master

Is this already a known issue? Should Evolution work together with
Exchange 2016? What else can I do to debug the issue?

Thanks in any case
René

> POST /EWS/Exchange.asmx HTTP/1.1
> Soup-Debug-Timestamp: 1532283241
> Soup-Debug: SoupSessionAsync 1 (0x7fe62400b100), ESoapMessage 1 
> (0x7fe62401e140), SoupSocket 1 (0x7fe62c00b770)
> Host: mailbox.company.tld
> User-Agent: Evolution/3.27.90
> Connection: Keep-Alive
> Content-Type: text/xml; charset=utf-8
> Authorization: NTLM ...
> 
> <?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:GetFolder
>  
> xmlns="http://schemas.microsoft.com/exchange/services/2006/types";><messages:FolderShape><BaseShape>Default</BaseShape></messages:FolderShape><messages:FolderIds><DistinguishedFolderId
>  
> Id="inbox"/></messages:FolderIds></messages:GetFolder></SOAP-ENV:Body></SOAP-ENV:Envelope>
  
< HTTP/1.1 401 Unauthorized
< Soup-Debug-Timestamp: 1532283241
< Soup-Debug: ESoapMessage 1 (0x7fe62401e140)
< Server: Microsoft-IIS/10.0
< request-id: b5521c3f-990e-4eba-a9f3-93668ce5b8ed
< WWW-Authenticate: NTLM ...
< WWW-Authenticate: Negotiate
< X-Powered-By: ASP.NET
< X-FEServer: EICHHORN
< Date: Sun, 22 Jul 2018 18:14:00 GMT
< Content-Length: 0
  
> POST /EWS/Exchange.asmx HTTP/1.1
> Soup-Debug-Timestamp: 1532283242
> Soup-Debug: SoupSessionAsync 1 (0x7fe62400b220), ESoapMessage 1 
> (0x7fe62c00e130), SoupSocket 1 (0x7fe650004760)
> Host: mailbox.company.tld
> User-Agent: Evolution/3.27.90
> Connection: Keep-Alive
> Content-Type: text/xml; charset=utf-8
> Authorization: NTLM ...
> 
> <?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:GetFolder
>  
> xmlns="http://schemas.microsoft.com/exchange/services/2006/types";><messages:FolderShape><BaseShape>Default</BaseShape></messages:FolderShape><messages:FolderIds><DistinguishedFolderId
>  
> Id="inbox"/></messages:FolderIds></messages:GetFolder></SOAP-ENV:Body></SOAP-ENV:Envelope>
  
< HTTP/1.1 401 Unauthorized
< Soup-Debug-Timestamp: 1532283242
< Soup-Debug: ESoapMessage 1 (0x7fe62c00e130)
< Server: Microsoft-IIS/10.0
< request-id: 70399aac-ac33-45b3-bd7c-f3d09d3a5828
< WWW-Authenticate: NTLM ...
< WWW-Authenticate: Negotiate
< X-Powered-By: ASP.NET
< X-FEServer: ESCHER
< Date: Sun, 22 Jul 2018 18:14:02 GMT
< Content-Length: 0
  
> POST /EWS/Exchange.asmx HTTP/1.1
> Soup-Debug-Timestamp: 1532283242
> Soup-Debug: SoupSessionAsync 1 (0x7fe62400b220), ESoapMessage 1 
> (0x7fe62c00e130), SoupSocket 1 (0x7fe650004760), restarted
> Host: mailbox.company.tld
> User-Agent: Evolution/3.27.90
> Connection: Keep-Alive
> Content-Type: text/xml; charset=utf-8
> Content-Length: 842
> Authorization: NTLM ...
> 
> <?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:GetFolder
>  
> xmlns="http://schemas.microsoft.com/exchange/services/2006/types";><messages:FolderShape><BaseShape>Default</BaseShape></messages:FolderShape><messages:FolderIds><DistinguishedFolderId
>  
> Id="inbox"/></messages:FolderIds></messages:GetFolder></SOAP-ENV:Body></SOAP-ENV:Envelope>
  
< HTTP/1.1 401 Unauthorized
< Soup-Debug-Timestamp: 1532283242
< Soup-Debug: ESoapMessage 1 (0x7fe62c00e130)
< Server: Microsoft-IIS/10.0
< request-id: 4285ae06-2a7b-4b72-b04c-6349524317f9
< WWW-Authenticate: NTLM ...
< WWW-Authenticate: Negotiate
< X-Powered-By: ASP.NET
< X-FEServer: ESCHER
< Date: Sun, 22 Jul 2018 18:14:02 GMT
< Content-Length: 0
  
> POST /EWS/Exchange.asmx HTTP/1.1
> Soup-Debug-Timestamp: 1532283242
> Soup-Debug: SoupSessionAsync 1 (0x7fe62400b220), ESoapMessage 1 
> (0x7fe62c00e130), SoupSocket 1 (0x7fe650004760), restarted
> Host: mailbox.company.tld
> User-Agent: Evolution/3.27.90
> Connection: Keep-Alive
> Content-Type: text/xml; charset=utf-8
> Content-Length: 842
> Authorization: NTLM ...
> 
> <?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:GetFolder
>  
> xmlns="http://schemas.microsoft.com/exchange/services/2006/types";><messages:FolderShape><BaseShape>Default</BaseShape></messages:FolderShape><messages:FolderIds><DistinguishedFolderId
>  
> Id="inbox"/></messages:FolderIds></messages:GetFolder></SOAP-ENV:Body></SOAP-ENV:Envelope>
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1532283242
< Soup-Debug: ESoapMessage 1 (0x7fe62c00e130)
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: text/xml; charset=utf-8
< Server: Microsoft-IIS/10.0
< request-id: a149bde5-8eb2-4e1c-bfc5-740dd87876c7
< X-CalculatedBETarget: escher.company.local
< X-DiagInfo: ESCHER
< X-BEServer: ESCHER
< X-AspNet-Version: 4.0.30319
< Set-Cookie: exchangecookie=...; expires=Mon, 22-Jul-2019 18:14:02 GMT; 
path=/; HttpOnly
< Set-Cookie: X-BackEndCookie=...
< Persistent-Auth: false
< X-Powered-By: ASP.NET
< X-FEServer: ESCHER
< Date: Sun, 22 Jul 2018 18:14:02 GMT
  

 The response code: 200
 The response headers for message 0x7fe62c00e130
 =====================
Cache-Control: private
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/10.0
request-id: a149bde5-8eb2-4e1c-bfc5-740dd87876c7
X-CalculatedBETarget: escher.company.local
X-DiagInfo: ESCHER
X-BEServer: ESCHER
X-AspNet-Version: 4.0.30319
Set-Cookie: exchangecookie=...; expires=Mon, 22-Jul-2019 18:14:02 GMT; path=/; 
HttpOnly
Set-Cookie: X-BackEndCookie=...
Persistent-Auth: false
X-Powered-By: ASP.NET
X-FEServer: ESCHER
Date: Sun, 22 Jul 2018 18:14:02 GMT

_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to