ExchangeCalendar / exchangecalendar

Exchange Calendar, Tasks, Contacts provider for Mozilla Thunderbird
GNU General Public License v3.0
677 stars 58 forks source link

Password is repeatedly asked for #265

Open IanPul opened 5 years ago

IanPul commented 5 years ago

I have been using Evolution for personal (IMAP) and work (Exchange) email, but am now trying to switch to Thunderbird for its better support for using different fonts etc. in the composer, however I'm getting blocked by a problem with ExchangeCalendar. Exchange email works great with the ExQuilla add-on, but I'm now trying to add exchange calendar support with Lightning and ExchangeCalendar, and once the latter is added I am having a problem with dialogs repeatedly popping up asking me to re-enter the password.

I am entering the correct exchange password, and have the account settings correct (which is born out because it does eventually read and display the calendar events from the exchange server). But to get there I have to re-enter the password about 4 dozen times (checking the "use password manager to remember it" box each time). Then when I later re-open Thunderbird I need to re-enter it a bunch more times.

In Thunderbird I have the exchange account configured with user name "name@dom.mycompany.com" and the domain field empty, which works great. In ExchangeCalendar I have tried the same, a plain user name with DNS domain name "dom.mycompany.com" and a plain user name with NetBIOS domain name "DOM". All work eventually but all have this problem.

I currently have ExchangeCalendar set with a NetBIOS domain (which helps differentiate popups for its account from any for Thunderbird's) and get two different password prompts coming up repeatedly, first:

"ExchangeCalendar Password authentication request" "Enter password for DOM\ipuleston on https://webmail.mycompany.com/EWS/Exchange.asmx" Password field is empty

Then:

"Authentication Required" "Enter password for ipuleston@dom.us.mycompany.com on https://webmail.mycompany.com" Password field is filled in

The latter one looks to be coming from Thunderbird but does not happen when ExchangeCalendar is removed.

Thunderbird's saved password list has two for exchange (ExchangeCalendar and Thunderbird respectively):

Site: https://webmail.mycompany.com/EWS/Exchange.asmx (Exchange Web Service), Username: DOM\ipuleston Site: https://webmail.mycompany.com (https://webmail.mycompany.com), Username: ipuleston@dom.us.mycompany.com

I am using Fedora 29 with ExchangeCalendar 5.0.0-alpha3 in Thunderbird 60.5.1.

Ian

IanPul commented 5 years ago

Correction - after some further experimentation I now think that the NetBIOS name format domain was probably not working (it's hard to tell with all the password prompts popping up anyway). I now have Thunderbird and ExchnageCalendar both configured with name ipuleston and domain "dom.mycompany.com", and still see the problem as described above.

Down at the bottom it shows "1 job running, n jobs queued" where n goes up to about 9, and as each of those queued jobs starts to run I have to re-enter the password for ExchangeCalendar. But sometimes it gets hung for a very long time running one of them, with the others stuck queued behind it.

casualformality commented 5 years ago

I encountered the same issue. I had to unsubscribe from the calendar and re-add it without any domain information in either the username or the domain field. Upon restart, I was asked for my password once, but have not experienced any issues since. Maybe this would work for you, too?

AlexanderAmelkin commented 4 years ago

I'm having the same issue. Sometimes it indeed helps to remove domain info and also use autodiscovery. Sometime it doesn't. I don't know why. This happens every time I restart Thunderbird. I have to reconfigure my calendar. That is exhausting...