[CalendarServer-users] Access to all calendars
cdaboo at apple.com
Tue Feb 17 07:45:59 PST 2009
--On February 17, 2009 1:50:59 PM +0100 Georg Troska
<georg.troska at uni-dortmund.de> wrote:
> <name>Georg Troska</name>
> <name>Username Two</name>
The <guid> element for these two records (and others) is the same. You MUST
have unique <guids> for each record. The server stores data for each user
based on their <guid> - so these two users end up with the same data path
on the server.
So, generate proper GUIDs for each record. You can do that using the
uuidgen command on the command line. As someone else noted there is a
runadmin.py command in the CalDAVClientLibrary tool available on
calendarserver.org. That provides a command line interface for manipulating
the accounts.xml file. It will take care of creating accounts with proper
NB it is important to use proper GUIDs in the accounts.xml file. The next
version of the server will actually use a slightly different store layout
that uses the first four characters of the GUID to create a "hashed"
directory structure for better scalability. GUIDs that are not four
characters long will not work with that.
More information about the calendarserver-users