6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/1/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10679] IMAP Authentication Backend does not work for e.g. kornolith auth
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__.\ /. .. . | \| | >< | ||__| |__/|__|/ \|/\|| |
Comment
> I am using imap authentication (because of a bug in imp) to > authenticate. Works find for horde so far. But accessing calendars > via rpc fails with: > > Horde_Imap_Client requires a username and password. > > Made a small fix to the code like this: > > --- /tmp/Imap.php 2011-05-09 15:32:35.000000000 +0000 > +++ /usr/share/php/Horde/Auth/Imap.php 2011-05-09 15:29:28.000000000 +0000 > @@ -82,6 +82,9 @@ > */ > protected function _authenticate($userId, $credentials) > { > + if(empty($userId) || empty($credentials)) { > + throw new Horde_Auth_Exception('', Horde_Auth::REASON_BADLOGIN); > + } > try { > $ob = $this->_getOb($userId, $credentials['password']); > $ob->login(); > > > After this kornolith access via RPC does work - i am asked like > expected via 401 code for authentication and get the ical file after > passing the correct credentials. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers