Carlossos

Q: Not possible to access calendar and contacts hosted on OS 10.8 server

On OS 10.8 server, /var/log/caldavd/error.log says:

 

 

    2012-08-06 21:06:03+0200 [-] [caldav-3]  [PooledMemCacheProtocol,client] [twext.web2.dav.method.propfind#error] File not found: <RootResource: /Library/Server/Calendar and Contacts/Data/Documents/calendar/dav/"user"/user>

 

 

I do see

/Library/Server/Calendar\ and\ Contacts/Data

 

 

but it is locked for me as user.

 

 

- Owner is `_calendar` (93)

- Group is `_calendar` (93)

 

 

and it's read, write and execute for owner and group (750)

 

 

Are these the right settings?

 

 

After upgrading to 10.8 server from 10.7 server I could not access my calendar and contacts data anymore, and I looked into the above described log.

 

 

When I am trying to access a calendar from a client via System Settings -- Mail, Contacts & Calendars I get this error:

   A secure connection couldn't be established. Click "Continue" to continue creating the account

However, it won't access neither calendars nor contacts.

 

 

Or are the permissions not the issue, but something else?

Posted on Aug 6, 2012 9:51 PM

Close

Q: Not possible to access calendar and contacts hosted on OS 10.8 server

  • All replies
  • Helpful answers

  • by redshift82r,Helpful

    redshift82r redshift82r Aug 6, 2012 10:56 PM in response to Carlossos
    Level 2 (325 points)
    Aug 6, 2012 10:56 PM in response to Carlossos

    Is the username registered on the server as a local user? If so this might be an issue. I.e. does it work for users who are only defined as network users?

  • by Carlossos,

    Carlossos Carlossos Aug 6, 2012 11:19 PM in response to redshift82r
    Level 1 (0 points)
    Aug 6, 2012 11:19 PM in response to redshift82r

    This could very well be. There are two things:

     

    1) where would I set "network users"? Is this related to Open Directory? Or to Profile Manager? I enabled both. I looked more closely into the log file. Previously I had the following two lines occurring every time I logged in, they don't occurr anymore.

     

        2012-08-07 08:06:48+0200 [-] [caldav-6]  [PooledMemCacheProtocol,client] [twistedcaldav.directory.appleopendirectory.OpenDirectoryService#error] Duplicate: "User"

        2012-08-07 08:06:48+0200 [-] [caldav-6]  [PooledMemCacheProtocol,client] [twistedcaldav.directory.appleopendirectory.OpenDirectoryService#error] Duplicate: "User"

     

     

    2) The previously mentioned error

     

        2012-08-07 08:15:24+0200 [-] [caldav-0]  [PooledMemCacheProtocol,client] [twext.web2.dav.method.propfind#error] File not found: <RootResource: /Library/Server/Calendar and Contacts/Data/Documents/calendar/dav/"User"/user>

     

    still remains.

     

    Again, I'd be grateful for further pointers!

  • by redshift82r,Helpful

    redshift82r redshift82r Aug 6, 2012 11:26 PM in response to Carlossos
    Level 2 (325 points)
    Aug 6, 2012 11:26 PM in response to Carlossos

    Network users are defined under Server.app and yes it's related to the OD. You need to define the access to services under this pane as well.

     

    I found that all my network users could access contacts and calendar, but I made the mistake of setting up my server with my user name as well. I changed my name on the server (under sys prefs) as well as the short name, and hey presto all was fixed.

  • by Carlossos,

    Carlossos Carlossos Aug 7, 2012 2:54 AM in response to redshift82r
    Level 1 (0 points)
    Aug 7, 2012 2:54 AM in response to redshift82r

    Thanks, redshift82r, I think this is getting somewhere.

    How did you change your short user name? As described here? And then you used the old login info for Calendar and Contacts?

  • by redshift82r,

    redshift82r redshift82r Aug 7, 2012 3:03 AM in response to Carlossos
    Level 2 (325 points)
    Aug 7, 2012 3:03 AM in response to Carlossos

    Do me a really big favour and set up a new administrator under System Preferences/users and groups and test that login before you do anything else! And yes use that article.  You will then need to create a new Network User under Server.app and login with that user.