Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2000 18:37:58 +0700 (NSS)
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        "Michael Sperber [Mr. Preprocessor]" <sperber@informatik.uni-tuebingen.de>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: Request for change to /etc/rc script
Message-ID:  <Pine.BSF.4.21.0009221836590.44820-100000@iclub.nsu.ru>
In-Reply-To: <Pine.BSF.4.21.0009221833500.44820-100000@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Fri, 22 Sep 2000, Max Khon wrote:

> > >> > We have a similar problem with the combination of NIS and ipfw. The details
> > >> > (and a patch) are in conf/18521:
> > >> > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18521 - nobody has touched it
> > >> > since its submission in May.
> > >> 
> > >> I've never used NIS, but isn't this either a bug/missing feature
> > >> in NIS or a misconfiguaration on your part?
> > >> 
> > >> Shouldn't NIS have a "first found" option so that root:wheel doesn't
> > >> need NIS resolution?
> > 
> > Max> nope. getpwnam("root") always tries to find "root" in NIS maps
> > Max> (and fails after a quite long delay miserably if for example NIS server is
> > Max> unreachable) even if root:wheel exists in local passwd/group files.
> > 
> > This doesn't happen here, at least not under 4.0-RELEASE.  What's your
> > /etc/passwd look like?
> 
> --- cut here ---
> root:xxxxxx:0:0::0:0:Charlie &:/root:/bin/tcsh
> [...]
> +:::::::::
> --- cut here ---
> 
> this happens on wide range of FreeBSD versions from 3.3-RELEASE to
> 4.1-STABLE (24 Jul 2000)

of course it finds "root" entry in local passwd after it fails to find it
in NIS maps (I should be more precise).

/fjoe



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009221836590.44820-100000>