6.0.0-beta1
7/17/25

[#1571] authentification failure with Auth_login
Summary authentification failure with Auth_login
Queue Horde Base
Queue Version 3.0.3
Type Bug
State Resolved
Priority 1. Low
Owners
Requester as (at) as-media (dot) com
Created 03/17/2005 (7427 days ago)
Due
Updated 03/17/2005 (7427 days ago)
Assigned
Resolved 03/17/2005 (7427 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/17/2005 03:31:14 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Interesting. Committed, let's see how this works for others.
03/17/2005 03:18:31 PM as (at) as-media (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ authentification failure with Auth_login
Queue ⇒ Horde Base
Reply to this comment
Hi



I had a problem with Auth_login not being able to authenticate all 
users. For some it worked fine and for others it failed.

For these users it seems like exiting right out of there shell after 
login will return 1 even though the login worked.



My fix is in Auth/login.php:

change line 91 to:

         $proc = popen($this->_location . ' -c /bin/true ' . $userId, 'w');



and comment out line 96.



That will make su return right after login returning 0 on success or 
returning 1 on failed login.



Works for me :-)

Saved Queries