Menu

#106 Basic authentication in EWS mode

closed
nobody
None
5
2016-01-30
2016-01-14
Julius
No

Our Exchange 2013 server is broken and I experience the same issue as in this mail thread:
https://sourceforge.net/p/davmail/mailman/message/33760352/

I can resolve it by removing these lines from DavGatewayHttpClientFacade.java

// force NTLM in direct EWS mode
if (!needNTLM && url.toLowerCase().endsWith("/ews/exchange.asmx")) {
    needNTLM = true;
}

This enables basic authentication and allows me to use DavMail. Could it be possible to provide this option in the GUI to work around broken Exchange servers?
I tried using Kerberos, but this appears to be broken for EWS with our Exchange server as well. (It works fine for logging in the domain and with accessing SMB fileshares.)

Discussion

  • Julius

    Julius - 2016-01-29

    The server here has been fixed now. To reproduce this configuration, one should configure in Exchange "Outlook Anywhere authentication" to Basic instead of negotiate and maybe have a policy in place to lock accounts after for instance three attempts.

     
  • Mickael Guessant

    • status: open --> closed
     
  • Mickael Guessant

    Thanks for your feedback, I added a hidden davmail.disableNTLM setting just in case this happens again

     

Log in to post a comment.

MongoDB Logo MongoDB