Hello everyone,
i have managed to setup a small autofs proof of concept between 2 machines.
the server is an nfs server and has many users.
The client only has 1 user so far (a test username taken from the server that also has the same uid in the 2 machines).
so I exported through nfs the home dir of that test user as
Quote:
/home/testuser 192.168.1.0/24(rw,no_subtree_check)
|
and updated the client to mount this nfs share as:
Quote:
* -rw,intr,soft stargaze:/home/&
|
This worked fine, and from autofs side i'm also set to mount many users IF I export individually their shares on the server.
Is there a way to nfs-export the whole /home directory somehow, without having to do each user manually?
Ideally i would export /home (or /home/*) somehow and be able to mount with autofs all /home/userX !
I understand also that I can use LDAP or NIS to export user databases from a server, but how do you export home directories in those cases of having thousands of users?
thank you for your help!