Open Bug 925653 Opened 11 years ago Updated 2 years ago

Password Manager cannot save credentials for multiple caldav accounts on same server

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 2.6
x86
All
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: edv, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1 Steps to reproduce: Create at least two caldav accounts in lightning add-on (2.6). http[s]://[server]/calendars/[domain]/[user]/[calendar] http[s]://[server|/public-calendars/[domain|/[calendar] Server, domain and the credentials for them are identical. Actual results: The first account will be fine and the credentials can be saved in the pwd mgr. The creation of the second account on the same server and domain and with same credentials will ask you for usr/pwd over and over. If you cancel after the first (and correct) entry, the account is created but offline. Restart TB and you will be asked for the credentials again. After you enter them, everything is fine. Although you opt for saving the credentials in the pwd mgr this will never happen. Only the last entry for the server is stored (visible in the pwd mgr --> http[s]://[server|). The remaining caldav path (different for each calendar on the same server!) is invisible in pwd mgr and seems to be ignored. Thus only one calendar account on the same server can be saved. This gets more annoying the more caldav accounts you have on the same server (e. g. multiple public calendars). Fore each calendar you will be asked for the credentials on TB startup. Expected results: Save multiple credentials on the same server in pwd mgr :-)
Component: Untriaged → General
Product: Thunderbird → Calendar
Version: 24 → Lightning 2.6
What realm is advertised for those urls? You can see this by entering the url in Firefox, wait for the password prompt, then the dialog text mentions: The site says: "(realm here)" Did you change the calendar.network.multirealm preference? This pref is meant to be used if two calendars with the same realm require different passwords, but it might serve as workaround for your issue.
I have the same problem although I am using CardDav on server for the Adress Book and Caldav on another different server for calendar (OwnCloud). This is TB 24.5.0 in Ubuntu 12.04 LTS. My use case for multiple different sources for AdrBook and Cal includes personal vs. work setups, and other shared calendars/adr books. The authentication dialog when entering the URL in Firefox shows: "A username and password are being requested by http://192.168.2.45. The site says: "ownCloud"". For the other server, the realm is the same. I've also checked the calendar.network.multirealm preference and it's set to true.
Component: General → Provider: CalDAV
OS: macOS → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.