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