Re: 10.3 nis autofs problem



On 2007-10-09 17:24, Robert Flint wrote:
I have installed 10.3 and configured the NIS client and started the automounter. 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, however if I type

cd ~user

where user is defined in the passwd and auto.home maps the home directory for that user is not mounted. I just get the error:

bash: cd: /home/user: No such file or directory.

this leads me to think that the automounter is not using the NIS map for auto.home. Automount is set to:

files nis

in /etc/nsswitch.conf.

This behaviour is the same for all NIS users and I am somewhat at a loss as to what the problem is. Any advice would be appreciated.

ROB






Do you have:
/home yp auto.home rw ( and maybe -nobrowse for large systems.)
in auto.master ?

You can test to copy your auto.home map to /etc/auto.home , to check if
there is an yp problem.

Also, make sure /home is _only_ used by the automounter, it don't even need to exist as a real directory.

/bb
.



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: 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: 10.3 nis autofs problem
    ... The NIS server has maps for passwd and auto.home etc. ... reveals the auto.home map, however if I type ... this leads me to think that the automounter is not using the NIS map for ...
    (alt.os.linux.suse)
  • 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)
  • automountd does not like me (Sol9)
    ... nis side of the equation, ... # Home directory map for automounter ... # cat /etc/auto_master ...
    (comp.unix.solaris)