Re: CalDAV client fails with 401 Authentication error

Jan Schneider <[email protected]>
Newsgroups gmane.comp.horde.kronolith
Message-ID <[email protected]>
Zitat von Aria Bamdad <[email protected]>:

> Quoting Jan Schneider <[email protected]>:
>
>> On 4. Juni 2014 21:11:28 MESZ, Aria Bamdad <[email protected]> wrote:
>>>
>>> SOLVED!
>>>
>>> I had coded (for security) the following two statements in a PHP file:
>>>
>>> unset($_SERVER['AUTH_PASSWORD']);
>>> unset($_SERVER['PHP_AUTH_PW']);
>>>
>>> that would get executed via an apache auto_prepend_file, example:
>>>
>>> <IfModule mod_php5.c>
>>> php_admin_value auto_prepend_file
>>> /etc/apache2/php_auto_prepend_file.php
>>> </IfModule>
>>>
>>>
>>> This would disable the availability of the user entered password with
>>> PHP code that is executed by apache.  However, it seems that the
>>> rpc.php would require this in order to authenticate the DAV client.
>>>
>>> Once I removed this.  Everything seems to work.
>>>
>>> What I don't understand is how is Funombol sync client able to
>>> authenticate with the above code in place.
>>>
>>> Aria
>>>
>>> --
>>> kronolith mailing list
>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>> To unsubscribe, mail: [email protected]
>>
>> SyncML doesn't use httpbasic authentication.
>> --
>> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
>
> Thanks Jan.  If it doesn't then I am not sure why the above change  
> fixes the problem.  All I removed were there instructions above.   
> Basically, I was clearing the values of the two server variables  
> before apache runs the PHP script.  If I put them back, it stops  
> authenticating, gets a 401 and I see no IMAP authentication happen.   
> If I remove them, it works.

SyncML != CalDAV

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.