Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Store the PAM handle in the Authenticator class and close the session properly #95

Merged
merged 1 commit into from Sep 4, 2013

Conversation

Projects
None yet
2 participants
Contributor

MartinBriza commented Sep 2, 2013

No description provided.

Contributor

MartinBriza commented Sep 2, 2013

Tested in Fedora 19 and 20 with enforcing SELinux and systemd-204 and 206.
Works fine with autologin and pulseaudio. These issues were caused by other things such as wrong VT setup and PAM configuration.
See the Fedora package on http://pkgs.fedoraproject.org/cgit/sddm.git/log/ for details.
There's a bit hacky bit in the stopped() slot, pam_end is being called twice, once directly and after that in the destructor. For reasons unknown to me, relogging doesn't work without this bit.

@aavci1 aavci1 added a commit that referenced this pull request Sep 4, 2013

@aavci1 aavci1 Merge pull request #95 from MartinBriza/upstream
Store the PAM handle in the Authenticator class and close the session properly
d80a7b2

@aavci1 aavci1 merged commit d80a7b2 into sddm:master Sep 4, 2013

@MartinBriza MartinBriza deleted the MartinBriza:upstream branch Nov 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment