Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 1997 14:19:40 -0500
From:      "Swanson, Toby J." <tjswanson@tva.gov>
To:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   Network Information Services (NIS)
Message-ID:  <c=US%a=attmail%p=tva%l=KNXNOROIS1B-971027191940Z-8302@chachaois2b.cha.tva.gov>

next in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=attmail%p=tva%l=KNXNOROIS1B-971027191940Z-8302>