Re: Darwin Calendar Server on Linux - Howto
Hi there The DCS is defnitely installed on an xattr partition. I did some more digging with ngrep and found something (10.0.0.2 is the server, 10.0.0.105 the client). The server seems to respond that I'm unauthorized. Anyone knows how to fix that? I can perfectly access the DCS with my webbrowser using the same username and password. T 10.0.0.105:51820 -> 10.0.0.2:8008 [AP] PROPFIND /calendars/users/admin/calendar/ HTTP/1.1..User-Agent: DAVKit/2.0 (10.5.2; wrbt) iCal 3.0.2..Content-Type: text/xml..Depth: 0..Content-Length: 374..Connection: close..Host: 10.0.0.2 :8008.... T 10.0.0.105:51820 -> 10.0.0.2:8008 [AP] <?xml version="1.0" encoding="utf-8"?>.<x0:propfind xmlns:x2=" http://calendarserver.org/ns/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:">. <x0:prop>. <x1:calendar-home-set/>. <x1:calendar-user-address-set/>. <x1:schedule-inbox-URL/>. <x1:schedule-outbox-URL/>. <x2:dropbox-home-URL/>. <x2:notifications-URL/>. <x0:displayname/>. </x0:prop>.</x0:propfind> T 10.0.0.2:8008 -> 10.0.0.105:51820 [AP] HTTP/1.1 401 Unauthorized..Content-Length: 141..Server: Twisted/2.5.0+r19773 TwistedWeb/[twisted.web2, version 0.2.0 (SVN r19773)] TwistedCalDAV/?..DAV: 1, access-control, calendar-access, c alendar-schedule, calendar-availability, inbox-availability, calendar-proxy..Date: Thu, 14 Feb 2008 11:47:19 GMT..Content-Type: text/html..WWW-Authenticate: digest nonce="1286297383624359573 1158487967", realm="Test Realm", algorithm="md5"..WWW-Authenticate: basic realm="Test Realm"..Connection: close....<html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1><p
You are not authorized to access this resource.</p></body></html>
br tom
Hi Tom, --On February 14, 2008 5:42:05 PM +0100 Tom Schouteden <tom.schouteden@gmail.com> wrote:
The DCS is defnitely installed on an xattr partition. I did some more digging with ngrep and found something (10.0.0.2 is the server, 10.0.0.105 the client). The server seems to respond that I'm unauthorized. Anyone knows how to fix that? I can perfectly access the DCS with my webbrowser using the same username and password.
What you were seeing in the log snippet you attached is partially correct. You are seeing iCal make an initial unauthenticated connection to the server, and the server returns a 401 as it should but the response contains WWW-Authenticate headers telling the client how to connect. iCal should then re-send the request but with a proper Authorization header containing the appropriate login details. What exactly do you see in the server's error.log file? -- Cyrus Daboo
participants (2)
-
Cyrus Daboo
-
Tom Schouteden