We have a script which works perfectly with Xubuntu 14.04 and an Ubuntu Server with ldap : https://github.com/dane-lyon/clients-linux-scribe/blob/master/ubuntu-et-variantes-integrdom.sh
We use /etc/skel in order to configure new ldap user.
With Xenial, a new user doesn't receive /etc/skel in his profile. We don't know why ? Any idea ?
Thanks !
PS :
- users are created on the LDAP Server
- home directories are created on logon with pam_mkhomedir.so (https://github.com/dane-lyon/clients-linux-scribe/blob/master/ubuntu-et-variantes-integrdom.sh#L227)
- user's home contains nothing at all after logon