Re: NIS Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 07, 2003 at 11:09:15PM +0100, Max Philippens (PD0SBH) wrote:
> I'm having some trouble setting up NIS on my network. I have the NIS
> server (ypserv 2.9) running on a Slackware 9.1 machine. I can logon to
> my Fedora Core machine using a username defined on the NIS server, at
> logon the home directory (exported on the NIS server) is connected like
> it should be. But the other directory that should be connected isn't
> mounted, well it is but not completly, look at the output of mount on
> the Fedora machine:
> 
> automount(pid3267) on /local type autofs
> (rw,fd=5,pgrp=3267,minproto=2,maxproto=3)
> automount(pid3286) on /home type autofs
> (rw,fd=5,pgrp=3286,minproto=2,maxproto=3)
> paddington:/home/max on /home/max type nfs (rw,addr=192.168.100.200)
> 
> As you can see home/max is mounted two times while /local is only
> mentioned with the automount option. When accesing /local there's
> nothing there.

I think you're misreading the output there.  You have two directories
controlled by autofs (/local and /home), and one of them has had a
directory mounted under it (/home/max, under /home).  None of these is
mounted twice.

> The other problem I have is with the output from yptest:
> 
> Test 3: yp_match
> WARNING: No such key in map (Map passwd.byname, key nobody)
> 
> I can't seem to find any info on these problems on the web, anybody have
> any idea what's wrong? Are the problems related or not?

This test checks for an entry for the user "nobody" in your passwd map.
If your network isn't expected to have one in NIS (i.e., if "nobody" is
a local user whose information is stored in /etc/passwd and
/etc/shadow), then it's not an error.

The real purpose of the test is to exercise functionality used by
ypmatch (and other NIS-aware software, such as libc).  The specific map
and key names are arbitrary, and can be specified to yptest on the
command line (see the man page for details).

HTH,

Nalin




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux