Ticket #165 (closed Defect: Software changed)
Digest authentication fails with multi-servers
| Reported by: | wsanchez@… | Owned by: | cdaboo@… |
|---|---|---|---|
| Priority: | 1: Blocker | Milestone: | CalendarServer-1.0 |
| Component: | Calendar Server | Severity: | Other |
| Keywords: | Cc: |
Description
4/3/07 12:38 PM Cyrus Daboo:
Digest authentication fails when using multiple servers with pydirector.
* STEPS TO REPRODUCE
- Run a multi-process server with each set to do digest auth.
- Use the RoundRobin pydirector option to really see this problem in action.
- Use Safari and navigate to a URI that requires auth.
* RESULTS Safari keeps popping up the authentication dialog.
* REGRESSION This problem occurs because each server instance creates its own "private key" which is used to encode the "opaque" value in the digest challenge. However, with pydirector, the server that sends the digest challenge may not be the same one that receives the client response (e.g. round robin mode in pydirector) so the opaque value in the client response is rejected as the other server instance cannot match it with its private key.
Change History
Note: See
TracTickets for help on using
tickets.
