From owner-freebsd-hackers Wed Jul 3 15:04:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA29927 for hackers-outgoing; Wed, 3 Jul 1996 15:04:30 -0700 (PDT) Received: from tellab5.lisle.tellabs.com (tellab5.lisle.tellabs.com [138.111.243.28]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA29917 for ; Wed, 3 Jul 1996 15:04:27 -0700 (PDT) From: mikebo@tellabs.com Received: from sunc210.tellabs.com by tellab5.lisle.tellabs.com with smtp (Smail3.1.29.1 #4) id m0uba1a-0004f9C; Wed, 3 Jul 96 17:03 CDT Received: by sunc210.tellabs.com (SMI-8.6/1.9) id RAA13882; Wed, 3 Jul 1996 17:03:20 -0500 Message-Id: <199607032203.RAA13882@sunc210.tellabs.com> Subject: Re: 2.1-960627-SNAP: YP problem To: mrm@Mole.ORG (M.R.Murphy) Date: Wed, 3 Jul 1996 17:03:19 -0500 (CDT) Cc: hackers@freebsd.org, mikebo (Mike Borowiec) In-Reply-To: <199607032149.OAA10177@meerkat.mole.org> from "M.R.Murphy" at Jul 3, 96 02:49:53 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 --------------------------------------------------------------------------