autofs maps under NIS control I'm using the following autofs maps to import under NIS:
auto_master:
/home auto_home -nobrowse
auto_home:
user1 host1:/export/home/&
user2 host1:/export/home/&
user3 host1:/export/home/&
After the import they look like this under NIS:
ypcat auto.master
auto_home -nobrowse
ypcat auto.home
host1:/export/home/&
host2:/export/home/&
host3:/export/home/&
I don't understand how this works as under NIS the maps don't seem to
be complete.
The master map is missing the first field '/home' and the home map is
also missing
the first field: 'user1', 'user2', 'user3'
With these missing fields the automounter seems to work on all the NIS
clients along with
the server - the correct home directory is mounted according to the
username.
How do autofs maps work under NIS?
Thanks |