[dev] ActiveSync with Nokia MfE - Strange Problem in Horde_Auth_Base

Jan Schneider jan at horde.org
Thu May 27 14:47:32 UTC 2010


Zitat von Lukas Gradl <horde at ssn.at>:

> On 2010-05-27 13:14, Lukas Gradl wrote:
>> Hi!
>>
>
> So, a little bit deeper once again - and stuck once again:
>
> In Horde_Secret::getKey $this->keyCache is searched for the key to  
> encrypt the password to write it to credentials.
>
> When Syncing with WM6.1 the variable $_COOKIE contains the necessary keys.
> When Syncing with MfE 3.0 the variable $_COOKIE is an empty array.
>
> So no key is found to encrypt the password, no password is written  
> and the auth to turba will fail.
>
>
> What I can't find now is the place where the $_COOKIE variable is  
> filled with the correct keys when using WM6.1, to compare that to  
> MfE 3.0

Now you are onto something! $_COOKIE is set automatically if the  
client sent a cookie with the HTTP request. I bet that cookie support  
is not required by the AS specs.
Actually Horde should fall back to some other secret if it can't store  
them in the cookie, but maybe this is broken in the current  
development version. Or maybe this doesn't work for some reason during  
AS requests.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list