LDAP Users Home Directories

Put

map passwd homeDirectory "/home/$uid"

to /etc/nslcd.conf (on Debian systems, on other systems it might be /etc/(ldap)/ldap.conf)


One option is to use something like nsscache and then have a script that runs on the cached passwd database and modifies the user home directory attributes.


Being Linux, you can try using PAM:

In /etc/pam.d/common-session put:

session required      pam_mkhomedir.so   skel=/etc/skel umask=0002

And fill in /etc/skel the home template that you want for users.

At first login, the home will be created.

You will have to deal with user deletion... their homes will remain on servers.