6.0.0-beta1
7/23/25

[#4945] Slow login authentication -- any auth type
Summary Slow login authentication -- any auth type
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester mstanisl (at) emich (dot) edu
Created 01/26/2007 (6753 days ago)
Due
Updated 02/05/2007 (6743 days ago)
Assigned 01/26/2007 (6753 days ago)
Resolved 02/05/2007 (6743 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/05/2007 12:20:44 AM Chuck Hagenbuch Comment #5
State ⇒ Not A Bug
Reply to this comment
Seems likely this is not something we can solve in Horde.
01/30/2007 06:38:18 PM Chuck Hagenbuch Comment #4 Reply to this comment
No ideas, sorry...
01/30/2007 08:06:35 AM mstanisl (at) emich (dot) edu Comment #3 Reply to this comment
So after much further testing I have actually narrowed the effective 
problem to occur with Apache 2.1.x or 2.2.x. If I keep my PHP 
installation/modules the same, and the same horde sources, when I 
install Apache 2.0.59, it works PERFECT.



I have tested with all three branches for 2.x in FreeBSD 6.2-STABLE -- 
2.0.x works, 2.1.x doesn't, 2.2.x doesn't. I have no clue what would 
change in Apache, as I don't TOUCH the configuration files. Just 
install Apache, re-install PHP 5.2.0 + extensions, launch. 2.0.x works 
out of the box.



Any clues?
I haven't seen this, so it's tough to diagnose unfortunately. Any
chance you can trace further inside the authenticate() call?

Possibilities, though these are just guesses at this point, is that
something available to authenticated users is hanging (turba with bad
ldap configuration?), preferences are very slow, there's a DNS
timeout ...
01/26/2007 06:58:44 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
I haven't seen this, so it's tough to diagnose unfortunately. Any 
chance you can trace further inside the authenticate() call?



Possibilities, though these are just guesses at this point, is that 
something available to authenticated users is hanging (turba with bad 
ldap configuration?), preferences are very slow, there's a DNS timeout 
...
01/26/2007 07:39:23 AM mstanisl (at) emich (dot) edu Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Slow login authentication -- any auth type
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
When logging into Horde 3.2-cvs, there is about a 15 second lag 
between submitting authentication information and actually being 
logged in. This is true for any authentication type, even the included 
'Administrator' stock login. I have also tried with LDAP and FTP, same 
result of 15 second login time.



Using a series of system('date'); print outs, I narrowed it down 
within the login.php file to the area where the authentication 
instance is called to verify credentials.



if ($auth->authenticate(Util::getPost('horde_user'), array('password' 
=> Util::getPost('horde_pass'))))



This execution is where the 15 second delay occurs for sure. Where 
inside of the Auth class it goes wild, is beyond me.



FreeBSD 6.2-Stable, Apache 2.2.4, PHP 5.2.0

Saved Queries