WebDAV Login-Problem
Hello,
I posted this before in a wrong forum (OS10.8) but it is probably a server problem as the problem appears on both, desktop and iphone.
I'm running MacOS X 10.6.8 Server and I wanted to setup address book sync between my MacBook running 10.8, i Phone and other users.
I wanted to do that, because of the new sync mechanism of Maverik and I'm not willing to use iCloud at all.
In Server Admin everyting looks fine, but when I try to connect either MacBook or iPhone I get the message that the user can't be confirmed.
The usename of course exists and works fine with mail, afp, CalDAV etc.
Every user is also set to be able to use addressbook in Access settings and this specific user is anyway admin …
It just looks that I can't get this addressbook work … I also once have seen this error: CoreDAVHTTPStatusErrorDomain error 500
I did of course searched for the error but somehow missed to find the right answer 😟
The error log shows stuff like this:
2013-12-25 14:57:34+0900 [-] [carddav-8802] [HTTPChannel,15,127.0.0.1] [twistedcaldav.pdmonster.PDClientAddressWrapper#debug] GetClientAddress(host='127.0.0.1', port=55266)
2013-12-25 14:57:34+0900 [-] [carddav-8802] [AMP,client] [twistedcaldav.pdmonster.PDClientAddressWrapper#debug] result = AmpBox({'_answer': 'a', 'host': '192.168.1.31', 'port': '64475'})
2013-12-25 14:57:34+0900 [-] [carddav-8802] [-] [twistedcaldav.cache.MemcacheResponseCache#debug] hashing key for get: ('PROPFIND', '{DAV:}unauthenticated', '/principals/', '0', -4536136155269475571) to '37da911c6caae7148a7321784448d010'
2013-12-25 14:57:34+0900 [-] [carddav-8802] [-] [twistedcaldav.cache.MemcacheResponseCache#debug] Checking cache for: '37da911c6caae7148a7321784448d010'
2013-12-25 14:57:34+0900 [-] [carddav-8802] [-] [twistedcaldav.memcachepool.MemCachePool#debug] Command queued: get, ('37da911c6caae7148a7321784448d010',), {}
2013-12-25 14:57:34+0900 [-] [carddav-8802] [-] [twistedcaldav.memcachepool.MemCachePool#debug] Clients #free: 0, #busy: 0, #pending: 5, #queued: 5
2013-12-25 14:57:40+0900 [-] [twistedcaldav.accesslog#info] rotateGlobalHitHistoryStats: [{'hits': 0, 'time': 1387948660}, {'hits': 0, 'time': 1387948660}, {'hits': 0, 'time': 1387948660}, {'hits': 0, 'time': 1387948660}, {'hits': 0, 'time': 1387948660}, {'hits': 1, 'time': 1387948960}, {'hits': 1, 'time': 1387949260}, {'hits': 1, 'time': 1387949560}, {'hits': 1, 'time': 1387949860}, {'hits': 1, 'time': 1387950160}, {'hits': 1, 'time': 1387950460}, {'hits': 1, 'time': 1387950760}, {'hits': 1, 'time': 1387951060}]
2013-12-25 14:58:10+0900 [-] [carddav-8801] [HTTPChannel,45,127.0.0.1] [twistedcaldav.pdmonster.PDClientAddressWrapper#debug] GetClientAddress(host='127.0.0.1', port=55276)
2013-12-25 14:58:10+0900 [-] [carddav-8801] [AMP,client] [twistedcaldav.pdmonster.PDClientAddressWrapper#debug] result = AmpBox({'_answer': '2b', 'host': '192.168.1.31', 'port': '64489'})
2013-12-25 14:58:10+0900 [-] [carddav-8801] [-] [twistedcaldav.cache.MemcacheResponseCache#debug] hashing key for get: ('PROPFIND', '{DAV:}unauthenticated', '/.well-known/carddav', '0', -4536136155269475571) to '7986dab875c45a2e88b704e5e314600b'
2013-12-25 14:58:10+0900 [-] [carddav-8801] [-] [twistedcaldav.cache.MemcacheResponseCache#debug] Checking cache for: '7986dab875c45a2e88b704e5e314600b'
2013-12-25 14:58:10+0900 [-] [carddav-8801] [-] [twistedcaldav.memcachepool.MemCachePool#debug] Command queued: get, ('7986dab875c45a2e88b704e5e314600b',), {}
2013-12-25 14:58:10+0900 [-] [carddav-8801] [-] [twistedcaldav.memcachepool.MemCachePool#debug] Clients #free: 0, #busy: 0, #pending: 5, #queued: 37
the server log shows this:
192.168.1.31 - - [25/Dec/2013:14:17:09 +0900] "OPTIONS /principals/__uids__/3FC89D72-7145-4DAE-A83D-574E0BCDEAED/ HTTP/1.1" 500 201 "-" "Mac OS X/10.8.5 (12F45) AddressBook/1170" [25.9 ms] [8844 1]
192.168.1.31 - - [25/Dec/2013:14:17:14 +0900] "OPTIONS /principals/__uids__/3FC89D72-7145-4DAE-A83D-574E0BCDEAED/ HTTP/1.1" 500 201 "-" "Mac OS X/10.8.5 (12F45) AddressBook/1170" [8.6 ms] [8844 1]
192.168.1.31 - - [25/Dec/2013:14:17:15 +0900] "OPTIONS /principals/__uids__/3FC89D72-7145-4DAE-A83D-574E0BCDEAED/ HTTP/1.1" 500 201 "-" "Mac OS X/10.8.5 (12F45) AddressBook/1170" [9.0 ms] [8844 1]
of course I tried different username variations with and without domain, but it always fails. To me it looks like, CalDAV server can't find the user or do I miss something realy stupid here?
thanks
matthias