Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 1996 17:03:19 -0500 (CDT)
From:      mikebo@tellabs.com
To:        mrm@Mole.ORG (M.R.Murphy)
Cc:        hackers@freebsd.org, mikebo (Mike Borowiec)
Subject:   Re: 2.1-960627-SNAP: YP problem
Message-ID:  <199607032203.RAA13882@sunc210.tellabs.com>
In-Reply-To: <199607032149.OAA10177@meerkat.mole.org> from "M.R.Murphy" at Jul 3, 96 02:49:53 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Murphy wrote:
> > From owner-freebsd-hackers@freefall.freebsd.org Wed Jul  3 13:36:13 1996
> > From: mikebo@tellabs.com
> > Subject: 2.1-960627-SNAP: YP problem
> > To: bugs@freebsd.org
> > Date: Wed, 3 Jul 1996 15:25:09 -0500 (CDT)
> >
> > I believe a bug has been introduced into the 2.1-960627-SNAP YP code.
> > As it turns out, netgroups have nothing to do with this problem. It is
> > a problem with any YP password entries from my Sun server... I've added
> > +::::::::: when editing the password file (with vipw), but NONE of the
> > users in the NIS password map can login.
> >
> Make the last line of the master password file
> +:::::0:0:::
> with vipw. This works for me.
> A typical entry in /var/yp/etc/passwd is
> mrm::101:200:M.R.Murphy:/home/mrm:/bin/sh
> The corresponding entry in /var/yp/etc/master.passwd is
> mrm::101:200::0:0:M.R.Murphy:/home/mrm:/bin/sh
> 
Unfortunately, this did nothing... The passwd(5) man page states:
     The simplest way to activate NIS is to add an empty record with only a
     plus sign (`+') in the name field, such as this:
 
           +:::::::::
 
     The `+' will tell the getpwent(3) routines in FreeBSD's standard C li-
     brary to begin using the NIS passwd maps for lookups.

This does not work. Only those users hardcoded into the local password
file can login. I'm bound to the master YP server, and I can ypmatch my
passwd.byname record all day... but can't login. HELP!
- Mike
-- 
--------------------------------------------------------------------------
Michael Borowiec   -   mikebo@tellabs.com   -   Tellabs Operations Inc.
Senior Member of Technical Staff                4951 Indiana Avenue, MS 63
708-512-8211  FAX: 708-512-7099                 Lisle, IL  60532  USA
--------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607032203.RAA13882>