Darrel Hankerson wrote:
>
> In addition to the features mentioned by Jeremy Fitzhardinge, it would
> be useful in a Solaris environment to allow entries from
> /etc/auto_home to be used together with entries from a NIS+ auto_home
> table. This is commonly done by having an /etc/auto_home which looks
> like
>
> # Home directory map for automounter, +auto_home is NIS+ table
> +auto_home
> userid host:/path
>
> As far as I can tell, the only way to get such a feature in autofs is
> to make /etc/auto_home an executable script that does the necessary
> lookups in an /etc/ file and in the NIS+ table.
>
> Unrelated: the current /etc/init.d/autofs script delivered with Debian
> is broken in that an auto.master entry of the form
>
> /home nisplus auto_home
>
> will lead to a "automount yp..." call. The script delivered with the
> autofs sources works.
>
> I joined the list a few days ago. Be gentle...
>
autofs v3 supports this in the latest prepatch (soon to be 3.1.4) by
doing a multimap mount:
multi file /etc/auto_home -- yp auto.home
-hpa