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
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs