From: Guillaume Rousse <Guillaume.Rousse@inria.fr>
To: autofs@linux.kernel.org
Subject: Re: some questions about the configuration
Date: Thu, 26 Jan 2006 17:07:58 +0100 [thread overview]
Message-ID: <43D8F3DE.5080003@inria.fr> (raw)
In-Reply-To: <Pine.LNX.4.64.0601242036050.3037@eagle.themaw.net>
Ian Kent wrote:
> On Mon, 23 Jan 2006, Guillaume Rousse wrote:
>
>
>>I recently started to clean-up the mandriva autofs package a bit, and I
>>have some questions about the default configuration handling.
>>
>>First, it seems autofs-ldap-auto-master, which is installed in
>>/usr/lib/autofs, and auto.{net,smb}, which are installed in /etc, have
>>exactly the same purpose: to automatically produce a list of available
>>mount points from a remote host. If I am right, why are them installed
>>and named differently ? Apart the fact that the first one is native
>>code, whereas the others are shell scripts, they could as well get
>>installed as /usr/lib/autofs/auto.{ldap,smb,net}
>
>
> the autofs-ldap-auto-master reads the master map from an ldap server. Only
> the master map.
>
> All the things in /usr/lib/autofs are system things, internal, whereas
> things in the map directory, often /etc are the user maps. The example
> program maps auto.smb and auto.net are, well, examples. Given a key they
> return the entry for it. Neither returns master map entries.
OK, I understand they have different nature, so they can't have the
exact same naming scheme. But if auto.smb and auto.smb are exemple, they
should not get installed, and especially not among configuration files
whereas they are executables programs.
I'd rather have called ldap.master.map, smb.user.map and net.user.map,
or something similar, and have them installed in the same place.
> The master map and the maps that are contained in the master map have a
> different syntax.
>
>
>>Second, it's not clear why ldap and nis use are triggered from the
>>content of /etc/nsswitch.conf, while smb and net (simple rpcinfo
>>listing) use are triggered from content of /etc/auto.master. Shouldn't
>>all those syntax be available from both locations?
>
>
> Master vs client maps again.
According to my init script understanding, however, it seems you can't
refer to LDAP user maps from /etc/auto.master, whereas you can refer to
NIS user maps from there, using a syntax such as '+foobar', which is not
documented in auto.master man page.
--
The more work you have to get done, the more likely it is to rain.
-- Precipitation Precepts n°1
next prev parent reply other threads:[~2006-01-26 16:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-23 15:10 some questions about the configuration Guillaume Rousse
2006-01-24 13:11 ` Ian Kent
2006-01-26 16:07 ` Guillaume Rousse [this message]
2006-01-26 17:10 ` Jeff Moyer
2006-01-27 14:38 ` Guillaume Rousse
2006-01-27 15:51 ` Jeff Moyer
2006-02-09 15:30 ` Guillaume Rousse
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=43D8F3DE.5080003@inria.fr \
--to=guillaume.rousse@inria.fr \
--cc=autofs@linux.kernel.org \
/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.