Weird NIS automount problem



Well, my trusty old Sparc20/Solaris9 blew up a few weeks ago. Now I'm working
on moving all of my services over to zones on Solaris10, with much success
and a lot of learning. However, I've run into a silly little problem with YP
and the automounter, and need some spare eyes to help me out here.

I have home directories coming off of one server (salvador), shared out as
/export/home. I have /home set up as an indirect map in auto_master, in NIS.
auto_home has the generic line:

* salvador:/export/home/&

This is all absolutely bog-standard stuff. The thing is, this works if I
have /etc/auto_home local, but NOT if I use the NIS auto.home table. The
syntax between the two is identical. I've played around with nsswitch.conf
and toyed with the +auto_home line in /etc/auto_home (as well as removing
/etc/auto_home entirely) but the end result is that /home/<username> is only
accessible if the above line appears in /etc/auto_home.

Stranger still--the entry MUST be in the local /etc/auto_home, even if
nsswitch.conf indicates that automount should only ever look in NIS.

Any ideas? I'm sure I'm missing something obvious, but I can't figure out
what it is for the life of me.

Thanks,
Colin
the above line in
.



Relevant Pages

  • Re: How to selectively distribute NIS maps
    ... >> I have a NIS setup with Solaris 7 as the NIS Server and some Linux ... >> automounter map file, which is perfectly suitable for Sun NIS Clients, ...
    (comp.unix.solaris)
  • Re: changing hostname on a server which has zones
    ... The "new" E450 is now used as fileserver using NIS and autofs so this ... change has been of little pain under a temporary hostname so far. ... Now I am adding print/ns and other servers using zones on the E450, ...
    (comp.unix.solaris)
  • Re: 10.3 nis autofs problem
    ... The NIS server has maps for passwd and auto.home etc. ... The problem is that ypbind binds to the NIS server and ypcat -k auto.home reveals the auto.home map, ... this leads me to think that the automounter is not using the NIS map for auto.home. ...
    (alt.os.linux.suse)
  • Changing NIS environment in heterogenous network
    ... I wish to integrate some new Linux boxes in our pure Solaris NIS ... the automounter is being used to automatically serve ... since an Intel CPU won't execute Solaris binaries. ...
    (comp.unix.solaris)
  • NIS and autofs and /net
    ... I incorporated a Linux client into a Sun NIS domain, ... Feb 21 13:21:33 tuxedo automount: using kernel protocol version ... Feb 21 13:21:33 tuxedo automount: starting automounter version ...
    (linux.redhat.misc)