[CentOS] LDAP create home directories

Sun Dec 20 16:03:52 UTC 2015
Todor Petkov <zakk at online.bg>

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 at ops2.example.com
> odunphy at ops2.example.com's password:
> Creating directory '/home/odunphy'.


in RHEL/CentOS7 you need oddjob-mkhomedir - check this