[horde] Authentication Carddav
pillul
pillul at freenet.de
Wed Jul 10 13:17:05 UTC 2013
>
> Zitat von pillul <pillul at freenet.de>:
>
>> Am 10.07.2013, 14:10 Uhr, schrieb Jan Schneider <jan at horde.org>:
>>
>>>
>>> Zitat von pillul <pillul at freenet.de>:
>>>
>>>>>
>>>>> Zitat von pillul <pillul at freenet.de>:
>>>>>
>>>>>> Hey,
>>>>>>
>>>>>> i try to get Carddav runing using a global adressbook.
>>>>>> I added a new adressbook and checked that "authorized users" are
>>>>>> allow to access it.
>>>>>> My authentication works against an IMAP Server.
>>>>>> If i try to open the carddav adresse (like:
>>>>>> https://domain.de/mail/rpc.php/addressbooks/user@domain.de/contacts:Rmjw-T3hA3KT-dsaWYmCKA1/
>>>>>> i get prompted for my login data.
>>>>>> I enter my email and password (the same i use for log in via horde
>>>>>> and the imap server) but i get an access denied error:
>>>>>>
>>>>>> <d:error>
>>>>>> <s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
>>>>>> <s:message>No basic authentication headers were found</s:message>
>>>>>> <s:sabredav-version>1.8.4</s:sabredav-version>
>>>>>> </d:error>
>>>>>>
>>>>>> Did i miss something?
>>>>>>
>>>>>> Thank You!
>>>>>
>>>>> What the message said. You might have entered the login data, but it
>>>>> didn't get to the server.
>>>>
>>>> Any ideas how i can debug this further more?
>>>> HTTP_WebDAV_Server (the pear module) was missing, i installed it now
>>>> but its not working so far...
>>>
>>> What's your web server/PHP setup?
>> PHP Version 5.4.16
>> Server API CGI/FastCGI
>
> The authentication headers are probably not passed to the PHP process.
> See http://php.net/manual/en/features.http-auth.php etc.
>
Jan you are right!
I compared the owncload .htacces with the horde .htaccess files.
After adding:
"RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]"
in the root .htaccess i was able to login!
maybe you could commit this?
>> Its an Apache WebServer but a shared hosting environment
>>
>> Owncloud Card/Caldav works fine
>
More information about the horde
mailing list