Closed Bug 1368478 Opened 8 years ago Closed 8 years ago

Problème authentification avec plusieurs calendrier lightning sur le même serveur

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 5.4.1.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 247486

People

(Reporter: antoine.b62, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Steps to reproduce: Je gère plusieurs agenda sur le module lightning de thunderbird. Quand je crée un nouvel agenda, je clic sur caldav et thunderbird me demande son emplacement. Pour ma part, je rentre les informations données par mon hébergeur soit : "https://sanglier.o2switch.net:2080/rpc/ ... "l'adresse mail liée au calendrier" Je clic sur continuer... je rentre le nom, la couleur, et l'adresse auquel est liée le calendrier Quand je fais terminé, une page apparait intitulé "Authentification requise" puis le message suivant "https://sanglier.o2switch.net:2080 demande un nom d’utilisateur et un mot de passe. AVERTISSEMENT : votre mot de passe ne sera pas envoyé au site web que vous visitez." Avec 2 case à remplir : Utilisateur : je rentre l'adresse mail lié au calendrier que je souhaite visualisé Mot de passe : je rentre le mot de passe lié à l'adresse mail indiqué ci-dessus Actual results: Dès que je crée le 2ème calendrier (rattaché sur le même serveur) la page "authentification requise" n'apparait plus ! Impossible de synchroniser mon 2ème agenda, ni les suivants. Expected results: Comme pour la gestion des boites mails, lightning devrait me demander une authentification pour les nouveaux calendriers que je viens de créer car ils ont tous un nom d'utilisateur différent (adresse mail rattaché au calendrier) même s'ils sont sur le même serveur
Flags: needinfo?(philipp)
Steps to reproduce: I manage several calendars on the lightning module of thunderbird. When I create a new calendar, I click on caldav and thunderbird asks me its location. For my part, I enter the information given by my web host either: "https://sanglier.o2switch.net:2080/rpc/ ..." mail address linked to the calendar " I click on continue ... I enter the name, the color, and the address to which the calendar is linked When I finish, a page appears titled "Authentication Required" Then the following message "https://sanglier.o2switch.net:2080 prompts for a username and password." WARNING: Your password will not be sent to the web site you visit. With 2 boxes to fill: User: I enter the email address linked to the calendar I want to view Password: I enter the password linked to the email address indicated above Actual results: As soon as I create the 2nd calendar (attached to the same server) The "Authentication Required" page no longer appears! Can not synchronize my 2nd calendar, nor the following. Expected results: As with mailbox management, lightning should ask me for an authentication for the new calendars I have just created because they all have a different username (email address attached to the calendar) even if they are on the same server
This does not look like a security sensitive issue. If your server uses the same realm for both calendars then Lightning correctly adheres to http auth principles. Now I am not saying this is ideal. You can try setting calendar.network.multirealm = true in the config editor (options > advanced > general > config editor), but note this will not work for digest auth.
Group: mail-core-security
Flags: needinfo?(philipp)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Hello, I followed all the indications to the letter and it still does not work ... I always have a yellow triangle that appears when I created my 2nd calendar. Would you have another idea?
From #707138 : Please be sure to provide information with debug logging enabled (calendar.debug.log and calendar.debug.log.verbose in the advanced config editor) and describe what caldav server you are using, and if the calendars all have the same authentication details, and if you know it also the auth mechanism (basic, digest). For anyone else passing by and pulling hairs because you cannot get multiple CalDAV calendars on the same server working (in thunderbird 60.2.1 or earlier): 0. Preferences | Advanced | Config Editor Set calendar.network.multirealm to True 1. Add all calendars. They will not work 2. Delete passwords for the relevant calendars (Preferences | Security | Saved Passwords) 3. Restart Thunderbird You will get a prompt for each calendar added. However, which prompt connects to which calendar is not declared anywhere visible. You are running blind and have to try. Remember to check the save password prompt. If you fail, try again from point 2. @Mozilla in general: thank you for firefox and thunderbird. Keep up the good work.
You need to log in before you can comment on or make changes to this bug.