| Summary | IMAP Authentication Backend does not work for e.g. kornolith auth |
| Queue | Horde Framework Packages |
| Queue Version | Git master |
| Type | Bug |
| State | Not A Bug |
| Priority | 2. Medium |
| Owners | |
| Requester | tkrah (at) fachschaft (dot) imn (dot) htwk-leipzig (dot) de |
| Created | 10/24/2011 (5150 days ago) |
| Due | 10/25/2011 (5149 days ago) |
| Updated | 10/24/2011 (5150 days ago) |
| Assigned | |
| Resolved | 10/24/2011 (5150 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | Yes |
where it does not work before updating to latest imap / horde /
kronolith client. Did only retest the behaviour before reporting but
forget to upgrade to latest released versions.
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ IMAP Authentication Backend does not work for e.g. kornolith auth
Due ⇒ 10/25/2011
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ Yes
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.