6.0.0-git
2021-01-18

[#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 2005-03-17 (5786 days ago)
Due
Updated 2005-03-17 (5786 days ago)
Assigned
Resolved 2005-03-17 (5786 days ago)
Milestone
Patch No

History
2005-03-17 15:31:14 Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Interesting. Committed, let's see how this works for others.
2005-03-17 15:18:31 as (at) as-media (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
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