Summary | First time login mailbox failure |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | franke (at) bethzur (dot) com |
Created | 05/21/2006 (7019 days ago) |
Due | |
Updated | 06/06/2006 (7003 days ago) |
Assigned | 05/23/2006 (7017 days ago) |
Resolved | 06/06/2006 (7003 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
what happened, but it seems to be fixed.
#2- What are your hordeauth settings (in imp/config/servers.php) forthe server you are using?
1) No custom login page.
2) Horde auth settings:
$servers['imap'] = array(
'name' => 'The Server',
'server' => 'localhost',
'hordeauth' => false,
'protocol' => 'imap/notls',
'port' => 143,
'maildomain' => 'domain.dlt',
'smtphost' => 'localhost',
'smtpport' => 25,
'realm' => '',
'preferred' => '',
);
#2- What are your hordeauth settings (in imp/config/servers.php) forthe server you are using?
However, $_SESSION['imp']['user'] conatins "username@domain.tld".
Those aren't equal, so it's failing.
Another issue, perhaps this is related, but under the Safari browser,
clicking on "INBOX" results in an empty frame. This happens if one
clicks on any folder, but clicking on "Mail" with those lines removed
works. The blank page also happens under horde 3.1.1 as well, but
clicking on "Mail" works in that version.
$_SESSION['imp']['user']))
Then from there, it is "$imapuser !== null" if true.
$_SESSION['imp']['user']" is true. Any thing else I can test?
$_SESSION['imp']['user']))
Then from there, it is "$imapuser !== null" if true.
to that unset() code. i.e., which of the following cases:
if (($imapuser !== null && ($imapuser != $_SESSION['imp']['user'])) ||
($pass !== null && ($pass !=
Secret::read(Secret::getKey('imp'), $_SESSION['imp']['pass'])))) {
matches.
this. Like where exactly in the code is is kicking you out as
unauthenticated.
Commenting out lines 96 & 97:
#unset($_SESSION['imp']);
#_redirect(Auth::addLogoutParameters(IMP::logoutUrl(),
AUTH_REASON_FAILED));
Caused it to work now.
Priority ⇒ 1. Low
State ⇒ Feedback
Like where exactly in the code is is kicking you out as
unauthenticated.
originally. It's every time. The released horde/imp do not have this
problem.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ First time login mailbox failure
Queue ⇒ IMP
State ⇒ Unconfirmed
on the Mail icon in the sidebar, I get "Login failed" and another
login screen. My server's logs report that the new user logged in
successfully each time. This happens in Firefox and Safari for the Mac.
I can open a specific folder if I open the Mail tree in the sidebar,
and that works. I can even click on "Inbox" and the virtual inbox and
things work OK. Just not the Mail tree base in the sidebar.
It also doesn't seem to really logout, since I can just enter the base
URL for horde and I'm back logged in, although the mail tree in the
sidepanel is now empty.