graviox/CardDAV-PHP — Issue #2: osx server snow leopard - auth bug -> fixed
Author: wingsuitist
Created: 2011-12-28 15:49:33+00:00
State: open

I couldn't authenticate to the OSX Server Snow Leopard and to fix it I changed the auth method:

//curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);

Of course CURLAUTH_ANY should also support DIGEST, but it seams that the server denies the login if you use it! With DIGEST it works perfectly.