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@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.
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@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@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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
-- Conrad Wasmer
Conrad Wasmer schreef:
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
I am using Debian, the standard location there is: /etc/caldavd/accounts.xml I've checked this in /etc/caldavd/caldavd.plist The setup works with the users "test" and "amdin" what are defaults.
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),
I try now: <user> <uid>paul</uid> <guid>ba822231-5297-42a1-a4a5-12d9448741bc</guid> <password>secret</password> <name>Paul van der Vlis</name> <cuaddr>mailto:paul@vandervlis.nl</cuaddr> </user> But it still does not work. I will add the error.log. I see everything in the "test" calendar.
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:
I use calendarserver version "1.2.dfsg-8" from Debian stable, which will be not so new. With regards, Paul van der Vlis. 2010-01-23 15:43:44+0100 [-] Log opened. 2010-01-23 15:43:44+0100 [-] twistd 8.1.0 (/usr/bin/python 2.5.2) starting up 2010-01-23 15:43:44+0100 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2010-01-23 15:43:44+0100 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd/caldavd.socket'" 2010-01-23 15:43:45+0100 [-] [caldav-8008] /usr/lib/python2.5/site-packages/twistedcaldav/tap.py:31: DeprecationWarning: mktap and related support modules are deprecated as of Twisted 8.0. Use Twisted Application Plugins with the 'twistd' command directly, as described in 'Writing a Twisted Application Plugin for twistd' chapter of the Developer Guide. 2010-01-23 15:43:45+0100 [-] [caldav-8008] from twisted.scripts.mktap import getid 2010-01-23 15:43:45+0100 [-] [caldav-8008] [-] Log opened. 2010-01-23 15:43:45+0100 [-] [caldav-8008] [-] twistd 8.1.0 (/usr/bin/python 2.5.2) starting up 2010-01-23 15:43:45+0100 [-] [caldav-8008] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2010-01-23 15:43:45+0100 [-] [caldav-8008] [-] twisted.web2.channel.http.HTTPFactory starting on 8008 2010-01-23 15:43:45+0100 [-] [caldav-8008] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x98277cc> 2010-01-23 15:43:45+0100 [-] [caldav-8008] [-] set uid/gid 126/135 2010-01-23 15:43:45+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd/caldavd.socket') PEER:UNIXSocket('')) 2010-01-23 15:43:45+0100 [-] [caldav-8008] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd/caldavd.socket')) 2010-01-23 15:44:08+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] "Directory service <XMLDirectoryService 'Test Realm': FilePath('/etc/caldavd/accounts.xml')> has no GUID; generating service GUID from realm name." 2010-01-23 15:44:08+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] "Directory service <SudoDirectoryService 'Test Realm': FilePath('/etc/caldavd/sudoers.plist')> has no GUID; generating service GUID from realm name." 2010-01-23 15:44:08+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] PROPFIND /calendars/users/test/calendar/ HTTP/1.1 2010-01-23 15:44:08+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] PROPFIND /calendars/users/paul/calendar/ HTTP/1.1 2010-01-23 15:44:09+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] PROPFIND /calendars/users/test/calendar/ HTTP/1.1 2010-01-23 15:44:09+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] PROPFIND /calendars/users/paul/calendar/ HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] OPTIONS /calendars/users/test/ HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] OPTIONS /calendars/users/paul/ HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] OPTIONS /calendars/users/test/ HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] OPTIONS /calendars/users/paul/ HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] PROPFIND /calendars/users/test/ HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] PROPFIND /calendars/users/paul/ HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] REPORT /principals// HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] REPORT /principals// HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] REPORT /principals// HTTP/1.1 2010-01-23 15:44:10+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] REPORT /principals// HTTP/1.1 2010-01-23 15:44:11+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] REPORT /calendars/users/test/calendar/ HTTP/1.1 2010-01-23 15:44:11+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] REPORT /calendars/users/test/calendar/ HTTP/1.1 2010-01-23 15:44:11+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] REPORT /calendars/users/test/calendar/ HTTP/1.1 2010-01-23 15:44:11+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] PROPFIND /calendars/users/paul/calendar/ HTTP/1.1 2010-01-23 15:44:11+0100 [-] [caldav-8008] [-] 'Cannot load timezone data for /mozilla.org/20071231_1/Europe/Amsterdam from timezone cache' 2010-01-23 15:44:12+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] OPTIONS /calendars/users/paul/ HTTP/1.1 2010-01-23 15:44:13+0100 [-] [caldav-8008] [HTTPChannel,0,192.168.0.41] PROPFIND /calendars/users/paul/ HTTP/1.1 2010-01-23 15:44:13+0100 [-] [caldav-8008] [HTTPChannel,1,192.168.0.41] REPORT /principals// HTTP/1.1 -- http://www.vandervlis.nl/
Paul van der Vlis schreef:
Conrad Wasmer schreef:
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
I am using Debian, the standard location there is: /etc/caldavd/accounts.xml I've checked this in /etc/caldavd/caldavd.plist
The setup works with the users "test" and "amdin" what are defaults.
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),
I try now:
<user> <uid>paul</uid> <guid>ba822231-5297-42a1-a4a5-12d9448741bc</guid> <password>secret</password> <name>Paul van der Vlis</name> <cuaddr>mailto:paul@vandervlis.nl</cuaddr> </user>
But it still does not work. I will add the error.log. I see everything in the "test" calendar.
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:
I use calendarserver version "1.2.dfsg-8" from Debian stable, which will be not so new.
I have it working now. The point seems to be that Lightning (version 0.8, Lightning is a Thunderbird plugin) saves only one username/password correct and does not ask for another password on the same server, but uses the old one. When I remove the old username/password and restart the application there is a dialog-window what asks for a username and password. Then it works, but only with one calendar per server. Maybe this problem is gone with a newer version of Ligtning, the actual version is 1.0-beta1. I also use now this on the commandline to create a calendar for the user. Not sure it's really nessesary: curl -X MKCALENDAR -u username:secret \ http://server:8008/calendars/users/marcel/calendar With regards, Paul van der Vlis.
participants (2)
-
Conrad Wasmer
-
Paul van der Vlis