[CalendarServer-users] Cannot add users

Paul van der Vlis paul at vandervlis.nl
Sat Jan 23 06:55:56 PST 2010


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 at 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/





More information about the calendarserver-users mailing list