On 20/12/2015 12:05 AM, Tim Dunphy wrote:
Check /var/log/secure for why the directory is not able to be created. Might be selinux, is that enabled? (sestatus)
Good catch! It was indeed SELinux preventing the directory from being created. Disabling it allows that to happen. For instance I just created a new test user in LDAP:
#ssh odunphy@ops2.example.com
odunphy@ops2.example.com's password:
Creating directory '/home/odunphy'.
Hello,
in RHEL/CentOS7 you need oddjob-mkhomedir - check this https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/htm...
Regards,