1

I have managed to set up an OpenLDAP server that runs ArchLinux. I can now log in from the client (also ArchLinux) using the LDAP users.

Now i want to mount the home directories over the network... I assume I need autofs and NFS for this, but all guides I find use a package called AutofsLDAP which does not exist in Arch.

Could someone point me in the right direction?

iOfWhy
  • 31
  • 1
  • 3

1 Answers1

1
 echo "/home /etc/auto.home" >> /etc/auto.master
 echo "* -fstype=nfs,rw,nosuid,soft fs1:/home/&" > /etc/auto.home

After that you need to reload the autofs daemon, anyway i recommend to place the network home of users in a deffirent place of local home, because you try to create a local home under /home and your using autofs under /home, you will got an error

c4f4t0r
  • 5,301
  • 3
  • 31
  • 42