From: Lukas Kolbe <lukas@einfachkaffee.de>
To: David Mack <davidwmack@gmail.com>
Cc: autofs@linux.kernel.org
Subject: Re: Linux+Solaris - NIS auto.master versus autofs5
Date: Tue, 08 Jan 2008 11:19:43 +0100 [thread overview]
Message-ID: <1199787583.26268.12.camel@srss> (raw)
In-Reply-To: <753ec7300712211400g3eb45b21n1f236fe7056f87a1@mail.gmail.com>
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
prev parent reply other threads:[~2008-01-08 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-21 22:00 Linux+Solaris - NIS auto.master versus autofs5 David Mack
2007-12-22 8:28 ` Ian Kent
2007-12-22 8:46 ` Ian Kent
2007-12-27 2:22 ` Ian Kent
2008-01-08 10:19 ` Lukas Kolbe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1199787583.26268.12.camel@srss \
--to=lukas@einfachkaffee.de \
--cc=autofs@linux.kernel.org \
--cc=davidwmack@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.