I'm trying to get Promox PAM Authentication working against FreeIPA. I've joined the Promox nodes to FreeIPA and I'm able to ssh into each of the nodes using both my password and ssh keys from FreeIPA. What seems to be going on is the order of operations in the PAM modules.
Here are two different things that work but I don't think this is correct and I'm just not understanding PAM module order.
1. I moved the line
2. I commented out
Here is the exception I'm seeing and related to the account not existing local which is to be expected but it should be also checking pam_sss.so and instead is failing immediately after checking pam_unix.so
Here are two different things that work but I don't think this is correct and I'm just not understanding PAM module order.
1. I moved the line
account [default=bad success=ok user_unknown=ignore] pam_sss.so
from /etc/pam.d/common-account
to /etc/pam.d/common-auth
2. I commented out
pam_deny.so
in /etc/pam/common-account
Here is the exception I'm seeing and related to the account not existing local which is to be expected but it should be also checking pam_sss.so and instead is failing immediately after checking pam_unix.so
Code:
Jul 27 05:38:13 cloud10 IPCC.xs[4226]: pam_unix(common-auth:auth): check pass; user unknown
Jul 27 05:38:13 cloud10 IPCC.xs[4226]: pam_unix(common-auth:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Jul 27 05:38:14 cloud10 IPCC.xs[4226]: pam_sss(common-auth:auth): authentication success; logname= uid=0 euid=0 tty= ruser= rhost= user=sweeks
Jul 27 05:38:14 cloud10 IPCC.xs[4226]: pam_unix(common-auth:account): could not identify user (from getpwnam(sweeks))