On Tue, 29 Feb 2000, Scott McDermott wrote:
...
>         /xfn           -xfn
> 
> I believe it used to be auto.master but they switched to using dots
> instead when they moved to NIS+ for some unknown reason (I've never used
> plus, just YP)

because in NIS+ a map has a directory, possibly a subdomain, and a domain,
all separated by dots, eg auto_home.org_dir.mysub.my.root.
And it's when you start to use subdomains you begin to unleash the full
potential of NIS+...

> 
> On the Linux clients without an /etc/auto.master, it looks up the YP
> auto.master map.  This map contains an `auto_home' entry.  The sed script
> changes this into `auto.home'.  `auto.home' contains only `+auto_home'.
> Linux autofs doesn't support included maps, so this ends up doing
Request: please can Linux autofs support included maps?

> nothing.  If the sed string wasn't there to begin with, it would have
> just included auto_home and everything would have been fine.
> 
> This seems to me to be basically the Sun default setup, and it works
> fine here with IRIX, HP-UX, and of course, Sun.  But the Linux clients
> break unless I remove the sed string.
> 
> What is the reason for having auto.home and auto_home ? What is the
> historical difference between the two? How does it relate to NIS+ ?
On Solaris, running NIS+, you can mix NIS+ maps and text maps (used for
example point-customization where a single machine needs different access)
but both types are spelt with an underscore.

Another request; can autofs be made to honour /etc/nsswitch.conf and not
use direct detection of the existence of maps to decide how to run?


Peter.

Reply via email to