LINUX LDAP Domain with roaming profiles

ldaplinuxroaming-profile

I would like to set up a linux LDAP domain using Ubuutu as my client side. Currently i have an LDAP server setup and users can authenticate through the LDAP Server. But how to create to roaming profiles is becoming a challenge to me. I also have PC that has the storage to which i would like to map users home directories. Kindly help..

Best Answer

If your clients are using Linux/Unix as well, you could export your storage via NFS, mount it on the clients and set the the home directory path accordingly in your LDAP directory.

What you would need:

  • On the storage server, export the relevant directory via NFS (you have an NFS server package to be installed). You need to edit /etc/exports accordingly (see man exports).
  • On the clients, mount your NFS to an appropriate location from /etc/fstab, possible to /home or /mnt/home.
  • In the LDAP entries for your users, make sure they have an path for their home directory that matches your NFS mount point, i.e. /home/joe.

When users log into their workstation next time, they will use the home directory mounted via NFS.

This entry in the Ubuntu doc wiki gives detailed instructions to perform the steps I outlined above.