I can get autofs to work on a client Ubuntu computer, but auto.master and auto.local are setup locally oppose to NIS.
My server is running RHEL 6.2 and it's hostname is main. My client is running Ubuntu 12.04.2
I commented out the following in the auto.master file:
/mnt /etc/auto.local --timeout=300
And then added the following in the file:
I commented out the following in the auto.local file:
raid -fstype=nfs,rw,sync,hard,intr main:/mnt/raid
And added the following in the file:
Is this the correct way to tell /etc/auto.master and /etc/auto.local to use the NIS database?
I then tried to tell the client to use these files by typing the following:
/usr/lib/yp/ypinit -s main
and received the following in return:
Can't enumerate maps from main. Please check that it is running.
What does that mean? Also, is this the correct way to rebuild the NIS map on the client machine?