Skip navigation

Address book server problem

771 Views 11 Replies Latest reply: Feb 6, 2012 1:50 PM by limamac RSS
Andy Woollard Calculating status...
Currently Being Moderated
Dec 11, 2011 9:33 AM

I have lion server running on a macPro. Everything is working nicely, File sharing, Mail server and calendar server( after a bit of tweaking). I cannot for the life of me make addressbook server do what I want.

 

I have created a user on the server called adserver and i want to access it from several client macs. I can indeed add it to any client mac and it seems to work fine. I can add addresses to it and they show up fine on the mac i added them on. They don't however show up on any other client mac. Each one sees only the addresses added on itself.

 

Surely they should all see the same

 

Any help appreciated

Mac Pro, Mac OS X (10.7.2), Server
  • Cyrus Daboo Level 2 Level 2 (230 points)
    Currently Being Moderated
    Dec 12, 2011 9:17 AM (in response to Andy Woollard)

    First concentrate on the one client that seems to work and verify that it is indeed writing data to the server. i.e., add a contact on that client then go check the /var/log/caldavd/access.log file to make sure that a PUT request was done for that user's address book (note you may have to wait a few seconds for the PUT to happen) - the status code for the PUT should be 201. If the PUT does not occur, or occurs with a status code in the 400 range, then check the client console log looking for issues related to AddressBook.

     

    Once you can confirm that one client is working, then setup another client with a new account. Again look at the access log to verify that requests are coming from that client and going to the correct URI for the user you have configured.

  • sfatula Level 2 Level 2 (150 points)
    Currently Being Moderated
    Dec 12, 2011 10:56 PM (in response to Andy Woollard)

    Yes, they SHOULD see the same thing. So, let me understand correctly....

     

    In address book, under Preferences -> Accounts, you have an accounts other than On My Mac that shows up there? It is of type CardDAV? The username is adserver. Under server settings for this user, it has the DNS name for the address book server. This is true on all machines. Is this all correct?

     

    When you add a new contact, you click on the group name for that account, not on All Contacts. Under that group name, you then add a new contact. If you add the new contact under the other groups, then, it's local.

  • Cyrus Daboo Level 2 Level 2 (230 points)
    Currently Being Moderated
    Dec 13, 2011 7:37 AM (in response to Andy Woollard)

    If the /principals path is different for each client, then they are each pointing at different accounts on the server. I am not sure how you can get that using the same user id for each account.

     

    If you use Safari to display the /principals/__uids__/XXX path on your server, do the resulting principal pages for each client show the same user name?

  • Cyrus Daboo Level 2 Level 2 (230 points)
    Currently Being Moderated
    Dec 13, 2011 8:34 AM (in response to Andy Woollard)

    Use https://<<your calendar server hostname>>:8443/principals/__uids__/XXX/ (or if you do not have SSL enabled use http:// and port 8008).

  • sfatula Level 2 Level 2 (150 points)
    Currently Being Moderated
    Dec 13, 2011 10:39 AM (in response to Andy Woollard)

    To answer your question, yes, we are using shared address book just as you are trying to. Always worked for us. We didn't migrate to Lion server though, always think that causes more trouble. We simply did a new install of Lion server.

     

    Can't think of any reason for a different principal showing up. Something got mesed up somewhere.

  • limamac Calculating status...
    Currently Being Moderated
    Feb 6, 2012 1:50 PM (in response to Andy Woollard)

    You have the Problem, that any user who left your company, know the password to access your contacts. Maybe you found a better solution for your company with FM2LDAP. Take a look at

     

    www.dircard.net

     

    You can manage your Contacts with Filemaker, and put it on your LDAP-Server. From here, you can acsess your contacts from anywhere. Also can you manage access-rights to your Contacts with Server ACLs.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.