| Summary: | SSHD fails to connect when "UsePAM and UseLogin" is yes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Michael selvesteen <selvesteen> | ||||
| Component: | PAM support | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | ||||||
| Priority: | P2 | ||||||
| Version: | 4.0p1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 994 | ||||||
| Attachments: |
|
||||||
|
Description
Michael selvesteen
2005-04-21 15:53:47 AEST
Created attachment 890 [details]
Don't check pam_session_is_open if UseLogin=yes
When UseLogin=yes and UsePAM=yes, do_setusercontext (and thus do_pam_session)
don't get called.
This causes the session to close immediately because the PAM session isn't
open. The attached patch fixes this.
Michael reports that the patch solved the issue, so patch applied. Thanks for the report. Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |