[CalendarServer-users] Cannot add users

Conrad Wasmer conrad.wasmer at comcast.net
Fri Jan 22 07:30:02 PST 2010


Paul -

I am not sure if you misspoke regarding where you put your new user
listing, but it should be listed in your /conf/auth/accounts-test.xml file
(or other location depending on how you authenticate users, but this
assumes you are going with a pretty standard installation). In the
caldavd.plist file you can identify the type of authentication and the name
and location of the file - it's in that file that you need to put your new
users. I am pretty sure that the default is /conf/auth/accounts-test.xml  

Also, you want to be sure to include a <guid> for each user (it seems it
may be best to use the command uuidgen to generate a fully compliant guid,
and cut and paste that into the guid field instead of just restating the
uid), and in following the standards that have been introduced in the
accounts.xml file from trunk, you should also include the <name>,
<first-name>, <last-name> fields that you'll find in the accounts-test.xml
file located, like so:

 <user>
   <uid>apprentice</uid>
   <guid>apprentice</guid>
   <password>apprentice</password>
   <name>Apprentice Super User</name>
   <first-name>Apprentice</first-name>
   <last-name>Super User</last-name>
 </user>


On Fri, 22 Jan 2010 15:34:49 +0100, Paul van der Vlis <paul at vandervlis.nl>
wrote:
> Hello,
> 
> I can use the calendarserver with Thunderbird with the users "test" and
> "admin", but when I create a new user this does not work. When I crecate
> an account or restart Thunderbird I get this error:
> -------
> There has been an error reading data for calendar: Paul. It has been
> disabled until it is safe to use it.
> Details:
> Error number: 0x804a0301
> Descriptions: The resource at
>               http://server:8008/calendars/users/paul/calendar/ is
>               either not a DAV colledtion or not available.
> -------
> 
> In the browser I can go to:
> http://server:8008/calendars/users/paul/calendar/
> 
> In /etc/caldavd/caldavd.plist I have:
> ----
>   <user>
>     <uid>paul</uid>
>     <password>secret</password>
>     <name>Paul van der Vlis</name>
>     <cuaddr>mailto:paul at vandervlis.nl</cuaddr>
>   </user>
> ----
> 
> What will be wrong?
> 
> I use Debian Lenny, Icedove 2.0.0.22 and Iceowl 0.8.
> Icedove=Thunderbird, Iceowl=Lightning.
> 
> With regards,
> Paul van der Vlis.
> 
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

-- 
Conrad Wasmer


More information about the calendarserver-users mailing list