[CentOS] autofs handling of nis maps - Centos4

Hilliard, Jay

Jay.Hilliard at disney.com
Wed Jun 29 18:55:49 UTC 2005


I have the following nis map (auto.facvs)

* -vers=3 &:/disk1

Which allows hosts that have /disk1 exported to be mounted to 
/facvs/$hostname

It works fine, but on Centos4, it allows me to
cd /facvs/foo (where foo isn't a real host out there)
I find it has mounted my local /disk1 as /facvs/foo.  It seems to be 
ignoring the key in the map pertaining to the host if it's not a valid host.

Does anyone know of a way to make it restrictive again and fail the 
mount if the hostname match isn't valid?
-- 
Jay Hilliard
Sr. Systems Administrator
Disney Feature Animation



More information about the CentOS mailing list