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?

1 Answer 1

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

4
  • Do i not need a autofs.schema for LDAP?
    – iOfWhy
    Jan 11, 2014 at 10:43
  • no, in this way, you don't need any ldap schema
    – c4f4t0r
    Jan 11, 2014 at 10:44
  • aha, i mount the whole /home folder on boot. is there any way to prevent sudo users from being able to browse through all users files?
    – iOfWhy
    Jan 11, 2014 at 12:19
  • this is other problem, i hate sudo, sorry :(
    – c4f4t0r
    Jan 11, 2014 at 14:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .