Hi!

A late reply, but a similar thing has bitten me in the past:

> I work in an environment in which Solaris and Linux machines NIS mount
> the same automount maps, including auto.master. Typically,
> /etc/auto.master just contains "+auto.master" on all of them.
> 
> With the advent of autofs5, this has started breaking. To get the
> Linux machines running autofs5 to work, we've had to replace
> /etc/auto.master with a version that looks something like this:
> 
> /volume yp:auto.vols
> /system yp:auto.home
> /local yp:auto.local
> /homes yp:auto.homes
> /home yp:auto.home
> /xfn -xfn
> /net -hosts             -nosuid

With autofs5, it does honor settings in /etc/nsswitch.conf.
A line like

automount:      nis files

in there does tell autofs5 to lookup the maps first via nis, then via
files, so there shouldn't be a need to explicitly specify yp: maps in
the /etc/auto.master anymore so principially the old auto_master should
work?

-- 
Lukas


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to