Closed Bug 2076093 Opened 1 month ago Closed 1 month ago

[ews] Two EWS/NTLM accounts on the same server URL: second account shows the first account's mailbox and folders

Categories

(MailNews Core :: Networking: Exchange, defect)

Thunderbird 156
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2073250

People

(Reporter: sebastien, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:156.0) Gecko/20100101 Firefox/156.0

Steps to reproduce

Environment:

Steps to reproduce:

  1. Add a first Exchange account using EWS:
  2. Add a second Exchange account in the same profile, same EWS URL:
  3. Let both accounts sync.

Actual results

The second account displays the folders and messages of the first account's mailbox. The second mailbox's real content never appears.

Expected results

Each account should display its own mailbox. Requests made for account B should be authenticated as user B.

Additional notes:

  • Both accounts use different usernames and passwords.
  • Suspected cause: NTLM authenticates the HTTP connection, not each request. Since both accounts target the exact same host, the connection already authenticated as user A seems to be reused for account B's requests, so the server returns user A's mailbox.
  • Workarounds that work: using a separate Thunderbird profile for the second account, or configuring one of the accounts over IMAP instead of EWS.

(In reply to sebastien from comment #0)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:156.0) Gecko/20100101 Firefox/156.0

Steps to reproduce

Environment:

Steps to reproduce:

  1. Add a first Exchange account using EWS:
  2. Add a second Exchange account in the same profile, same EWS URL:
  3. Let both accounts sync.

Actual results

The second account displays the folders and messages of the first account's mailbox. The second mailbox's real content never appears.

Expected results

Each account should display its own mailbox. Requests made for account B should be authenticated as user B.

Additional notes:

  • Both accounts use different usernames and passwords.
  • Suspected cause: NTLM authenticates the HTTP connection, not each request. Since both accounts target the exact same host, the connection already authenticated as user A seems to be reused for account B's requests, so the server returns user A's mailbox.

Sounds like bug 2073250

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2073250
Resolution: --- → DUPLICATE

THANKS ;)

You need to log in before you can comment on or make changes to this bug.