6.0.0-beta1
7/6/25

[#13139] Auth. error for external mail server
Summary Auth. error for external mail server
Queue IMP
Queue Version 6.1.7
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester alwaysthreegreens (at) gmail (dot) com
Created 04/22/2014 (4093 days ago)
Due
Updated 04/22/2014 (4093 days ago)
Assigned
Resolved 04/22/2014 (4093 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/22/2014 11:45:22 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
This is the gollem login page.
04/22/2014 10:38:52 AM alwaysthreegreens (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Auth. error for external mail server
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
After the upgrade to Horde Groupware to 5.1.4 and imp 6.1.7 the 
following authentication issue happened:
Horde is and was configured for sql authentication, which works fine. IMP is
configured to show a server list of the available servers in
backends.local.php and the backends are configured 'hordeauth' => false

Before the upgrade, when clicked on webmail the login screen was presented
with the drop down menu to select the imap server according to 
backends.local.php. Login with the
suitable credentials for the imap servers worked.

Since the upgrade when clicking on webmail from the portal you may get
back to the horde login screen without the imap server selection menu. I
tried the option 'hordeauth' => true, which also works perfectly, but is not
suitable for configurations with multiple external mail servers, 
especially if you have to use different credentials for Horde and the 
multiple imap servers.


When using 'hordeauth' => false with the described behaviour the following
log output is produced:

Mar 20 09:52:07 foxxxxee HORDE: [gollem] PHP ERROR: Invalid argument
supplied for foreach() [pid 7778 on line 336 of
"/var/www/horde/gollem/lib/Auth.php"]
Mar 20 09:52:07 foxxxxee HORDE: [gollem] PHP ERROR: Invalid argument
supplied for foreach() [pid 7778 on line 336 of
"/var/www/horde/gollem/lib/Auth.php"]
Mar 20 09:52:28 foxxxxee HORDE: [gollem] PHP ERROR: Invalid argument
supplied for foreach() [pid 8062 on line 336 of
"/var/www/horde/gollem/lib/Auth.php"]
Mar 20 09:52:28 foxxxxee HORDE: [horde] Login success for HORDEUser
[xxx.xxx.xxx.215] to horde. [pid 8062 on line 150 of
"/var/www/horde/login.php"]
Mar 20 09:52:35 foxxxxee HORDE: User is not authorized for imp [pid 8062 on
line 306 of "/usr/share/php/Horde/Registry.php"]
Mar 20 09:52:42 foxxxxee HORDE: [horde] Login success for IMPUser
[xxx.xxx.xxx.215] to horde. [pid 8062 on line 150 of
"/var/www/horde/login.php"]
Mar 20 09:52:42 foxxxxee HORDE: User is not authorized for imp [pid 8062 on
line 306 of "/usr/share/php/Horde/Registry.php"]

Saved Queries