[CalendarServer-users] building CalDAVClientLibrary

tack tack at tractionco.com
Thu May 29 10:24:14 PDT 2008


I've also run into the problem of the admin I set in caldavd.plist not  
really being an admin.  The way I worked around it is I used the  
command line client to log in as each user and set the ACL's I wanted  
that way.  That wasn't so bad (we're a small shop).  But I could see  
it being a lot to do if you're serving a larger group.

Cheers,
tack

On May 29, 2008, at 5:28 AM, John McAdams wrote:

> Hi Cyrus,
>
> Sorry this is still giving me problems. I modified the caldavd.plist  
> and restarted iCal Server. I'm still getting the 401 error. Here's  
> the entry in caldavd.plist:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
> ">
> <plist version="1.0">
> <dict>
> 	<key>AccessLogFile</key>
> 	<string>/var/log/caldavd/access.log</string>
> 	<key>AdminPrincipals</key>
> 	<array>
> 		<string>/principals/users/diradmin</string>
> 	</array>
> 	
> I also tried:
>
> 	<key>AdminPrincipals</key>
> 	<array>
> 		<string>/principals/__uids__/912F0CD3-1984-47B8-B09E-25F2BEA9DF02</ 
> string>
> 	</array>
>
> Thanks,
> -- jmca
>
> On May 27, 2008, at 12:17 PM, Cyrus Daboo wrote:
>
>> Hi John,
>>
>> --On May 27, 2008 12:14:03 PM -0400 John McAdams <johnemac at tekserve.com 
>> > wrote:
>>
>>>> A 401 means unauthenticated. Are you sure that the "diradmin" user
>>>> is properly setup for use with the calendar server?
>>>
>>> I can add the diradmin account in iCal and create events, invite  
>>> people
>>> to things and what not. Is there another level of authentication  
>>> the user
>>> needs to manipulate acl's? The same error has come up using other  
>>> names.
>>
>> OK - regular users can only access ACLs on their own calendar  
>> "home" collection (and anything within it): e.g. /calendars/users/ 
>> diradmin.
>>
>> If you configure an admin user in the caldavd.plist file, that user  
>> will be able to read (and set) ACLs on any resource.
>>
>> -- 
>> Cyrus Daboo
>>
>>
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users



More information about the calendarserver-users mailing list