[Bug 1024] SSHD fails to connect when "UsePAM and UseLogin" is yes

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 21 16:55:53 EST 2005


------- Additional Comments From dtucker at zip.com.au  2005-04-21 16:55 -------
Created an attachment (id=890)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=890&action=view)
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.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-bugs mailing list