0
I added
session optional pam_mkhomedir.so umask=0047 skel=/etc/skel
on my
/etc/pam.d/system-auth
but when I try to do
su user
I got something like
Impossible to create and initialize directory '/ldap-home/user
NOTE:
directory /ldap-home
exists
Edit:
Tryed logging in by a 'fresh' TTY (typing ^F<N>
) it creates the home with no problem.
Are you using SELinux? Is
/ldap-home
a local filesystem or a network mount? – user1686 – 2019-03-13T10:53:22.527/ldap-home
is local, selinux is enabled – DDS – 2019-03-13T10:57:43.907