Re: Kronolith / sabredav: No basic authentication headers found

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.kronolith
Message-ID <20150515103538.Horde.B0N0pm0qphQGZEqjpqOZ4Gs@h4.theupstairsroom.com>
Quoting [email protected]:

> Zitat von Michael J Rubinsky <[email protected]>:
>>
>>> Quoting [email protected]:
>>>
>>>> Zitat von Michael J Rubinsky <[email protected]>:
>>>>
>>>> If CalDAV requests are truly stateless we should use probably be   
>>>> using the null session driver (session_control='none') for those   
>>>> requests.
>>>
>>> Is this a configuration setting or code changes needed? And would   
>>> this prevent Horde from sending a cookie reply to the unaware  
>>> client?
>>
>> Code changes in rpc.php. If you want to try it locally, look at how  
>>  the ActiveSync request is handled in rpc.php.
>>
>> I don't think it prevents all of the cookies from being sent (we   
>> have to initiate a true session very briefly in order to obtain a   
>> session id for various technical reasons that I won't go into  
>> here),  but it does reduce the overhead of maintaining the full  
>> Horde session.
>
> After poking around here http://janschneider.de/news/5/344 i dont'n  
> feel like i should poke around with session/authentication...
> Is it possible to get this fixed as "sponsored work" somehow? It is  
> really a bummer if one is going to use CalDAV seriously.

Setting the session handler to null is really easy, you don't need to  
poke around in authentication code at all. All the heavy lifting is  
already taken care of in Core. Look at the rpc.php controller script  
for how the ActiveSync requests are handled. It's really just a matter  
of making sure the session_control flag is set to none inside the  
conditional that sniffs out the calDav request.

If using the null session handler doesn't solve what your looking to  
solve, then there really isn't anything else we can do, as we MUST  
have a session id for other reasons within horde.


-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.7 KB) - not displayed
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.