[Tickets #9733] Re: Password lost during hordeauth authentication via API
bugs at horde.org
bugs at horde.org
Sun Sep 30 19:47:31 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9733
------------------------------------------------------------------------------
Ticket | 9733
Updated By | arjen+horde at de-korte.org
Summary | Password lost during hordeauth authentication via API
Queue | Horde Base
Version | Git master
Type | Bug
State | Resolved
Priority | 2. Medium
Milestone | 4.1
Patch |
Owners | Michael Rubinsky
------------------------------------------------------------------------------
arjen+horde at de-korte.org (2012-09-30 19:47) wrote:
>>> No more errors are shown, but now I consistently get '0' as number of
>>> active sessions, despite the fact that 'admin/sessions.php' returns
>>> that there are active sessions.
>>
>> I'm seeing this too, both in FW_4 and master. The problem, at least
>> for me, is caused by a different value of sys_get_temp_dir() being
>> returned for cli requests vs fastcgi requests. Still investigating
>> why this is happening.
>
> ...I should also mention that I see this even if I remove the check
> for disabling sessions. I.e., this happens even if creating a
> "normal" session for CLI.
If I replace
$GLOBALS['session'] = $session = new Horde_Session_Null();
by
$GLOBALS['session'] = $session = new Horde_Session();
$session->setup(false, $args['session_cache_limiter']);
which was used before (somewhere around line 423 in
Horde/Registry.php), 'horde-active-sessions -ll' reports the same
sessions as 'admin/sessions.php'.
More information about the bugs
mailing list