H. Peter Anvin on Tue 29/02 13:02 -0800:
> The existing implementation works just fine and dandy with NIS.
> That's what we use at Transmeta.  It's just the Sun brain-damaged way
> of *ASKING* for an NIS map in a local file that's the problem.

I think this conversation started as a result of the sed string changing
underscores to dots.

The default sun /etc/auto_master looks like this:

        +auto_master
        /net           -hosts         -nosuid
        /home          auto_home
        /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)

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
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+ ?

-- 
Scott McDermott, Questra Desktop and Network Services (QDN)
(716) 381-0292 x525
QDN service via web: http://qweb.web.roc.questra.com/srs/
QDN service via email: [EMAIL PROTECTED]

Reply via email to