From owner-freebsd-hackers Fri Oct 31 12:53:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA04279 for hackers-outgoing; Fri, 31 Oct 1997 12:53:22 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from tvainet.tva.gov (tvainet.tva.gov [152.85.133.14]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA04269 for ; Fri, 31 Oct 1997 12:53:13 -0800 (PST) (envelope-from tjswanson@tva.gov) Received: from topaz_hme.cha.tva.gov by tvainet.tva.gov via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 31 Oct 1997 20:53:11 UT Received: from chachaois2b.cha.tva.gov (chachaois2b.cha.tva.gov [152.85.66.29]) by topaz.cha.tva.gov (8.8.6/8.7.3/8.7.5-topaz) with SMTP id PAA08441 for ; Fri, 31 Oct 1997 15:53:03 -0500 (EST) Received: by chachaois2b.cha.tva.gov with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63) id <01BCE615.15F32810@chachaois2b.cha.tva.gov>; Fri, 31 Oct 1997 15:53:09 -0500 Message-ID: From: "Swanson, Toby J." To: "'freebsd-hackers@freebsd.org'" Cc: "'toby@milkyway.org'" Subject: NIS Date: Fri, 31 Oct 1997 15:53:25 -0500 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am running 2.1.7 on a 486-33MHz host named scar. I am attempting to use NIS to authenticate logins on this machine. Everything starts up without any error messages, but only local login ids and passwords are accepted at a login prompt. I have added the '+' entries to /etc/passwd, /etc/group and /etc/aliases and have uncommented the NIS entry in /etc/host.conf. I start ypbind successfully, then ypwhich shows I am bound to the master server in my domain named gie (a Sun Ultra Enterprise 4000 running Solaris 2.5.1). When I run 'ypwhich scar' on the server I get an error message of "ypwhich: can't call ypbind on scar: RPC: program/version mismatch; low version = 2, high version = 2". Running 'ypwhich -V2 scar' returns gie. Running rpcinfo and grepping for yp on gie yields (header added); program version netid address service owner 100004 2 udp 0.0.0.0.3.4 ypserv superuser 100004 1 udp 0.0.0.0.3.4 ypserv superuser 100004 1 tcp 0.0.0.0.3.5 ypserv superuser 100004 2 tcp 0.0.0.0.128.10 ypserv superuser 100004 2 ticotsord \000\000\020X ypserv superuser 100004 2 ticots \000\000\020[ ypserv superuser 100007 3 udp 0.0.0.0.128.14 ypbind superuser 100007 2 udp 0.0.0.0.128.14 ypbind superuser 100007 1 udp 0.0.0.0.128.14 ypbind superuser 100007 3 tcp 0.0.0.0.128.11 ypbind superuser 100007 2 tcp 0.0.0.0.128.11 ypbind superuser 100007 1 tcp 0.0.0.0.128.11 ypbind superuser 100007 3 ticlts \000\000\020{ ypbind superuser 100007 3 ticotsord \000\000\020\177 ypbind superuser 100007 3 ticots \000\000\020\203 ypbind superuser 100009 1 udp 0.0.0.0.3.22 yppasswdd superuser Running rpcinfo -p scar on scar yields; program vers proto port 100000 2 tcp 111 rpcbind 100000 2 udp 111 rpcbind 100007 2 udp 676 ypbind 100007 2 tcp 678 ypbind 100005 1 udp 682 mountd 100005 1 tcp 683 mountd Is there a place on the FreeBSD web site to look for NIS related problems? Does anyone know of any solutions or workarounds for this problem? I have the O'Reilly book on NFS and NIS but it does not seem to address this problem. Any help will be appreciated very much. Toby (tjswanson@tva.gov, please cc toby@milkyway.org if possible)