Markus -
thanks much for the clarification - I can leave my sudoers file alone, then.
But in the caldavd.plist, did you set up a <dict> with <string>'s for GUID,
name, and/or password? Or do you just have <string>'s with the url for the
GUID, as in the sample caldavd.plist file, so something like this, with one url
for each admin and com.apple.calendarserver:
<key>AdminPrincipals</key>
<array>
<string>/principals/__uids__/AEB68DD7-D2B8-4D4D-A574-2A4533DF36A4/</string>
<string>/principals/__uids__/ABE88blah-blah-blah-blah-asdfasdfasdf/</string>
</array>
I've tried this, but I think my path must be wrong. What did you use for the
path?
Thanks -
Conrad
On Jan 6, 2010, at 3:49 PM, Markus Stürmer wrote:
> Sorry Conrad,
>
> I found out my final version does not use the internal sudo-mechanism. Unless
> you use an XML-aware editor, you can hardly find out where comments start and
> end…
>
> Instead, I have entered the regarding GUID together with the admin account at
> <key>AdminPrincipals</key> in caldavd.plist. My patch was only required to
> make the injection of replies work.
>
> Best regards,
> Markus
>
>
> Am 06.01.2010 um 09:40 schrieb Conrad Wasmer:
>
>> I have upgraded to SL 10.6, and finally understanding what Markus did, I
>> tried the same, but to no avail.
>>
>> I created a user named com.apple.calendarserver in my accounts.xml file and
>> in my sudoers.plist, and now I get a different error:
>>
>> 2010-01-06 02:23:40-0600 [-] [caldav-0] [AuthorizedHTTPGetter,client]
>> [twistedcaldav.scheduling.imip#error] Could not do server-to-imip request :
>> <twistedcaldav.scheduling.imip.ScheduleViaIMip object at 0x102fdc4d0> Mail
>> gateway not able to process reply; could not authenticate user
>> com.apple.calendarserver with calendar server
>> 2010-01-06 02:23:40-0600 [-] [caldav-0] [AuthorizedHTTPGetter,client]
>> [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error
>> during PUT for mailto:[email protected]: None
>>
>> I have tried Markus' suggested tweaking of the implicit.py file, but that
>> did not change the result.
>>
>> Can anyone help me understand how I can get the user
>> com.apple.calendarserver to authenticate with the server? I tried leaving
>> the password field blank, but that threw a whole different set of errors -
>> it is currently set as the same thing in both the sudoers.plist and
>> accounts.xml.
>>
>> Thanks all!
>>
>>
>> On Dec 2, 2009, at 11:18 AM, Markus Stürmer wrote:
>>
>>> I have created a user for the iMIP injection and entered that user also in
>>> the sudoers.xml file.
>>>
>>> However, I still got an exception whenever an email reply should be
>>> imported into the DCS again. I fixed that by changing in
>>> "twistedcaldav/scheduling/implicit.py" the line "if
>>> self.originatorPrincipal:" into "if self.originatorPrincipal and
>>> hasattr(self.originatorPrincipal,'calendarUserAddresses'):".
>>>
>>> I do not know if the whole approach is the way to go, unfortunately there
>>> is hardly any documentation available. It took me very long to set up the
>>> installation, and I also modified some parts to get Lightning, Mulberry,
>>> Evolution (and of course iCal.app) working and enable Kontact and Horde to
>>> at least subscribe calendars.
>>>
>>> Regards,
>>> Markus
>>>
>>>
>>>
>>> Am 02.12.2009 um 17:01 schrieb Conrad Wasmer:
>>>
>>>>
>>>> 2009-12-01 23:40:05-0600 [-] [mailgateway] 2009-12-01 23:40:05-0600
>>>> [HTTPChannel,0,127.0.0.1] [twistedcaldav.mail#error] iMIP injection
>>>> principal not found: com.apple.calendarserver
>>>> 2009-12-01 23:40:05-0600 [-] [caldav-0] [AuthorizedHTTPGetter,client]
>>>> [twistedcaldav.scheduling.imip#error] Could not do server-to-imip request
>>>> : 403 Forbidden
>>>> 2009-12-01 23:40:05-0600 [-] [caldav-0] [AuthorizedHTTPGetter,client]
>>>> [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error
>>>> during PUT for mailto:[email protected]: None
>>>>
>>>>
>>>> ---
>>>> Conrad Wasmer
>>>> _______________________________________________
>>>> calendarserver-users mailing list
>>>> [email protected]
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
>>>
>>
>>
>> --
>> Conrad Wasmer
>> 612-598-0301
>>
>>
>
--
Conrad Wasmer
612-598-0301
_______________________________________________
calendarserver-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users