Felipe_G0NZÁLEZ_SANTIAG0 via FreeIPA-users kirjoitti 14.02.2018 klo 18:16:
I have a Freeipa server version 4.3.1 on Ubuntu 16.04. Then I
installed
freeipa-client, and run
#i|pa-client-install --mkhomedir|
However, when I try to loggin no freeipa client machine it fails.
I supposed it was because the home directories have not been created.
So, I configured PAM modules manually by editing the
/etc/pam.d/common-session and adding this+ line:
session required pam_mkhomedir.so
and then loggin proccess works perfectly!
Any idea why the option --|mkhomedir| is not well working here?
pam-auth-update didn't support enabling pam_mkhomedir.so
non-interactively, which is why the freeipa client setup didn't touch it
either. Pam-auth-update got recently fixed in Debian unstable to
properly handle mkhomedir, so all that remains fixed there is freeipa
platform code to use it.
--
t