From owner-freebsd-questions Sun Sep 20 16:14:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02191 for freebsd-questions-outgoing; Sun, 20 Sep 1998 16:14:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotmail.com (f165.hotmail.com [207.82.251.51]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA02165 for ; Sun, 20 Sep 1998 16:14:42 -0700 (PDT) (envelope-from jfrodo42@hotmail.com) Received: (qmail 710 invoked by uid 0); 20 Sep 1998 22:14:10 -0000 Message-ID: <19980920221410.709.qmail@hotmail.com> Received: from 204.238.179.16 by www.hotmail.com with HTTP; Sun, 20 Sep 1998 15:14:09 PDT X-Originating-IP: [204.238.179.16] From: "Jane Frodo" To: dhw@whistle.com, FreeBSD-Questions@FreeBSD.ORG, jegelhof@cloud9.net Subject: NIS Troubles: Starting over... Content-Type: text/plain Date: Sun, 20 Sep 1998 15:14:09 PDT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all. I have completely started over, having found several things in my "search for NIS" :=0 Here's what I've done, and where I am... --------------------------------------------------------------------------------------------------- On the SERVER: /etc/hosts content: 127.0.0.1 localhost.test.com localhost /etc/host.conf content: (yes, I want it to use DNS and not host) bind nis /etc/group content: +:*:: /etc/passwd +:*:::::::: /etc/rc.conf changes: hostname="nismst.test.com" nisdomainname="test.com" nis_client_enable="YES" nis_client_flags="-s" nis_ypset_enable="NO" nis_ypset_flags="" nis_server_enable="YES" nis_server_flags="" nis_yppasswdd_enable="YES" nis_yppasswdd_flags="-v -a -t /etc/master.passwd" /var/yp/Makefile modified to use /etc/master.passwd: at line 108, replace MASTER = $(YPDIR)/master.passwd with MASTER = $YPSRCDIR)/master.passwd To create the domain: in /var/yp, make target test ---------------------------------------------------------------------------------------------- On the CLIENT: Magic cookies in: /etc/passwd /etc/group /etc/hosts Contents of /etc/host.conf: bind nis /etc/rc.conf: nis_client_enable="YES" nis_client_flags="-s" -------------------------------------------------------------------------------------------------- Behavior: SERVER: Everything appears normal. All logins work, ypcat works for all map files tried, ypmatch works, passwd changes local as well as NIS maps. CLIENT: No NIS logins work. passwd works correctly: it both recognizes a bad password (when prompting for "old" passwd) and successfully changes the NIS passwd. Having changed it via the client, I can use the new password to login on the server. ypcat/ypmatch appear to be working fine. ----------------------------------------------------------------------------------------------- Oh Help... Jane, Frustrated & grumpy... :( ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message