I recently converted an Ubuntu server to use SSSD instead of LDAP configuration, and am having trouble trying to get Webmin to authenticate users with SSSD. Normal SSH works fine. I've found the following threads but no solutions, and was hoping someone could help.
I've tried replacing /etc/pam.d/webmin with this:
auth required pam_sepermit.so
#### auth sufficient pam_sss.so use_first_pass
auth sufficient pam_sss.so
auth required pam_unix.so nullok
account include password-auth
password include password-auth
#### pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
#### pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open env_params
session include password-auth
but it didn't quite work.
Any help would be great!