From owner-freebsd-hackers Mon Jul 8 07:46:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA08626 for hackers-outgoing; Mon, 8 Jul 1996 07:46:45 -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 HAA08618 for ; Mon, 8 Jul 1996 07:46:41 -0700 (PDT) From: mikebo@tellabs.com Received: from sunc210.tellabs.com by tellab5.lisle.tellabs.com with smtp (Smail3.1.29.1 #4) id m0udHZd-0004fYC; Mon, 8 Jul 96 09:46 CDT Received: by sunc210.tellabs.com (SMI-8.6/1.9) id JAA20400; Mon, 8 Jul 1996 09:45:28 -0500 Message-Id: <199607081445.JAA20400@sunc210.tellabs.com> Subject: Re: 2.1-960627-SNAP: YP problem To: mrm@Mole.ORG (M.R.Murphy) Date: Mon, 8 Jul 1996 09:45:27 -0500 (CDT) Cc: mikebo (Mike Borowiec), hackers@freebsd.org In-Reply-To: <199607032310.QAA10402@meerkat.mole.org> from "M.R.Murphy" at Jul 3, 96 04:10:25 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 - You wrote: > > > 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! > > Did you do exactly as I wrote, (ueernames changed as required, of course). Yup... > Then do a make in /var/yp. Exactly means > > +:::::0:0::: > not > +::::::::: > > As I said, mine works. > I believe you... but my 2.1.5 SNAP doesn't work, and 2.1R did. I may have done something wrong, but I can't figure what. Bill Paul has spent a lot of time putting together a test program for me. I'm going to follow his lead and build the test program. I'm going to stick to this as work time allows. To answer your follow up mail: Yes, I have DES security installed. As I said, if I copy my passwd entry directly from the Sun master NIS map into the local FBSD vipw session, and tweak it to have the correct fields, everything works, so I don't suspect the DES password encryption (yet). I'll be back... ;v) - 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 --------------------------------------------------------------------------