From owner-freebsd-questions Mon Aug 7 10:47:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gw.nexprise.com (gw.nexprise.com [206.79.13.50]) by hub.freebsd.org (Postfix) with ESMTP id C5E4937B646 for ; Mon, 7 Aug 2000 10:47:05 -0700 (PDT) (envelope-from dthiel@nexprise.com) Received: from lgm-118a.internal.nexprise.com (mx.nexprise.com [192.168.25.222]) by gw.nexprise.com (8.9.3/8.9.3) with ESMTP id KAA18651; Mon, 7 Aug 2000 10:49:52 -0700 (PDT) Received: from nexprise.com (dthiel@ws141.internal.nexprise.com [192.168.25.141]) by lgm-118a.internal.nexprise.com (8.9.3/8.9.3) with ESMTP id KAA99946; Mon, 7 Aug 2000 10:56:13 -0700 (PDT) (envelope-from dthiel@nexprise.com) Message-ID: <398EF5C0.F2F80ED3@nexprise.com> Date: Mon, 07 Aug 2000 10:45:36 -0700 From: David Thiel Organization: Nexprise Inc. X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Cc: "Brandon D. Valentine" Subject: Re: What's up with yp login authentication? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm also having some very bizarre yp problems. I've double and triple-checked my configuration, and although I can do ypwhich and ypcat the NIS maps, logins don't appear to authenticate through NIS. Maybe there's something I'm missing, but I added a test user after enabling NIS, and they didn't authenticate through it. Is there something different one has to do when adding users under NIS? -lx "Brandon D. Valentine" wrote: > > Attached is a log generated by screen of some system commands which show > the symptoms of my problem. I cannot for the life of me understand why > login authentication via yp is not working as it is supposed to. My > configuration fits the manpage to the hilt. I've got UNSECURE = "True" > uncommented in /var/yp/Makefile, and some custom Makefile targets to > produce sun-style automounter maps. Otherwise it's a stock > installation. > > reef# uname -a > FreeBSD reef.structbio.vanderbilt.edu 4.1-RELEASE FreeBSD 4.1-RELEASE > #0: Thu Jul 27 04:44:16 GMT 2000 > root@usw4.freebsd.org:/usr/src/sys/compile/GENERIC i386 > reef# ypwhich > reef.structbio.vanderbilt.edu > reef# ps auxw | grep yp > root 83 0.0 0.4 1316 1068 ?? Ss 2:02AM 0:00.03 ypserv > root 85 0.0 0.3 1032 684 ?? Is 2:02AM 0:00.00 > rpc.yppasswdd > root 87 0.0 0.2 888 592 ?? Ss 2:02AM 0:00.01 ypbind > reef# ypcat passwd | grep bandix > bandix::10019:10005:Brandon D. > Valentine:/home/bandix:/bin/csh > reef# ypcat master.passwd | grep bandix > bandix::10019:10005:Brandon D. > Valentine:/home/bandix:/bin/csh > reef# tail -n 1 /etc/passwd > +:*::::: > reef# tail -n 1 /etc/master.passwd > +::::::::: > reef# id bandix > id: bandix: no such user > reef# su - bandix > su: unknown login: bandix > reef# finger bandix > Login: bandix Name: Brandon D. Valentine > Directory: /home/bandix Shell: /bin/csh > Never logged in. > No Mail. > No Plan. > > I'm rather perplexed as to why finger is getting information from the yp > maps, but id and su are not. > > I'm not a -questions subscriber. Keep me in the CCs, please. > > Brandon D. Valentine > -- > bandix at looksharp.net | bandix at structbio.vanderbilt.edu > "Truth suffers from too much analysis." -- Ancient Fremen Saying > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message