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 |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ authentification failure with Auth_login
Queue ⇒ Horde Base
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 :-)