Q: Local network users can't use the caldav server
Ever since upgrading the server to Yosemite, local network users have been unable to use iCloud as well as caldav server.
At first I assumed this was caused by upgrading rather than a complete clean install, so I did a wipe and clean install, recreated the Open Directory, and recreated the network users using the old network home folders. I reset the permissions recommended by Apple in a KB article, but the issue persisted, so then I assumed that the old network home folders Libraries was probably the problem, so I recreated new local network users with fresh new Libraries, and then manually imported data from the old network home folders one-by-one (excluding Library). Same result.
What happens is that when I set up a local network I can log in no problem, set up the server calendar account, add data to it, refresh etc, but as soon as that user logs out, it's guaranteed that the next time they login and start up their calendar their will occur a never-ending 'enter password for user' loop.
I then called Apple support who confirmed to me that there was a current issue with local network users and setting up their iCloud accounts in their network home (BTW that seems to have been fixed with Server.app updates). I told the client who accepted this, but really wants the ability for network users to be able to use the server calendar server. They didn't believe there is an issue with local network users using the server calendar server.
I've since recreated the same issue back at our workshop with the latest !0.10.4 and latest Server.app - same problem.
Logs
Cal Error log
2015-08-26 17:51:20+0100 [-] [directoryproxy] 2015-08-26 17:51:20+0100 [txdav.dps.server.DirectoryProxyAMPFactory] DirectoryProxyAMPProtocol connection established (HOST:UNIXAddress('/var/run/caldavd/directory-proxy.sock') PEER:UNIXAddress(None))
2015-08-26 17:51:21+0100 [-] [directoryproxy] 2015-08-26 17:51:21+0100 [txdav.dps.server.DirectoryProxyAMPFactory] DirectoryProxyAMPProtocol connection established (HOST:UNIXAddress('/var/run/caldavd/directory-proxy.sock') PEER:UNIXAddress(None))
Call access log
127.0.0.1 - nick [26/Aug/2015:18:06:12 +0100] "PROPFIND /principals/__uids__/679D8D7D-2765-4274-AD21-AA7955F2A26E/ HTTP/1.1" 207 423 "-" "Mac+OS+X/10.10.4 (14E46) CalendarAgent/316.1" i=1 or=1 t=45.7 cached=1 fwd=fe80::d69a:20ff:fefa:8d6e
127.0.0.1 - - [26/Aug/2015:18:06:13 +0100] "PROPFIND /principals/__uids__/679D8D7D-2765-4274-AD21-AA7955F2A26E/ HTTP/1.1" 401 141 "-" "Mac+OS+X/10.10.4 (14E46) CalendarAgent/316.1" i=1 or=1 t=5.0 fwd=fe80::d69a:20ff:fefa:8d6e
127.0.0.1 - - [26/Aug/2015:18:06:13 +0100] "PROPFIND /principals/__uids__/679D8D7D-2765-4274-AD21-AA7955F2A26E/ HTTP/1.1" 401 141 "-" "Mac+OS+X/10.10.4 (14E46) CalendarAgent/316.1" i=1 or=1 t=4.9 fwd=fe80::d69a:20ff:fefa:8d6e
127.0.0.1 - - [26/Aug/2015:18:06:13 +0100] "PROPFIND /principals/__uids__/679D8D7D-2765-4274-AD21-AA7955F2A26E/ HTTP/1.1" 401 141 "-" "Mac+OS+X/10.10.4 (14E46) CalendarAgent/316.1" i=1 or=1 t=5.0 fwd=fe80::d69a:20ff:fefa:8d6e
127.0.0.1 - - [26/Aug/2015:18:06:13 +0100] "PROPFIND /principals/__uids__/679D8D7D-2765-4274-AD21-AA7955F2A26E/ HTTP/1.1" 401 141 "-" "Mac+OS+X/10.10.4 (14E46) CalendarAgent/316.1" i=1 or=1 t=5.3 fwd=fe80::d69a:20ff:fefa:8d6e
127.0.0.1 - - [26/Aug/2015:18:06:13 +0100] "PROPFIND /principals/ HTTP/1.1" 401 141 "-" "Mac+OS+X/10.10.4 (14E46) CalendarAgent/316.1" i=1 or=1 t=4.2 fwd=fe80::d69a:20ff:fefa:8d6e
127.0.0.1 - - [26/Aug/2015:18:06:13 +0100] "PROPFIND /principals/ HTTP/1.1" 401 141 "-" "Mac+OS+X/10.10.4 (14E46) CalendarAgent/316.1" i=1 or=1 t=4.2 fwd=fe80::d69a:20ff:fefa:8d6e
LDAP log
Aug 26 18:06:12: --- last message repeated 1 time ---
Aug 26 18:06:12 macmini-i5.local slapd[210]: conn=14172 op=4: attribute "entryCSN" index delete failure
Aug 26 18:06:12 macmini-i5.local slapd[210]: conn=14172 op=3: attribute "entryCSN" index delete failure
Any help greatly appreciated!
Posted on Aug 26, 2015 12:25 PM