Closed ldoub closed 1 month ago
First step is to set default domain in DavMail settings:
# Default windows domain for NTLM and basic authentication
davmail.defaultDomain=
Then we can have a close look at flags
Ok, I have put:
davmail.defaultDomain=WORK
into the davmail64.ini file in the program directory. I still have the problem and the flags didn't change (0x88201)...
Any other idea ? How can I make DavMail provide the same info as Firefox does when logging in ?
Thanks!
My issue may be the same as this one Maybe the NTLM payload differences were a red herring ?
@mguessan This was indeed a duplicate of #352 , the latest trunk version with the fix for #352 also fixes my problem. Thanks!
Hi,
I used DavMail with success for many years but there must have been an update to our corporate Exchange Server because DavMail now cannot login to it. I was using DavMail version 5.4.0-3135 when the error appeared for the first time. I tried an updated 5.5.1-3299 version (that I had downloaded but apparently didn't use) and I had the same error. I also downloaded and tried the last version 6.2.2-3546 with no success. I tried accessing our "Outlook on the Web" URL (that has the form of https://email.corp.company/owa/) with Firefox to see if there was a problem with my user/password pair but it worked, I could access my emails. The same URL in DavMail and the same user/password in Thunderbird yield an "Unauthorized" error...
In the log file I can see the NTLM handshake and it looks like it's just a user/pass problem yielding an invalid challenge response (but again, user/pass are valid):
(User ID, Workstation name, Domain and URL have been changed to not give away company info)
Using the DEBUG log level, I was able to capture the NTLM authentication tokens, and with Firefox I also captured the NTLM tokens of a successful Auth and tried a comparison:
DavMail Type3Msg:
Firefox Type3Msg:
The differences that caught my attention are:
What is your opinion on this? Are there other tests I can do to pinpoint more precisely the problem? Is there a way to fix this problem?
Thanks!