From: Reid van Melle <reid@sask.trlabs.ca>
To: axp-list@redhat.com
Subject: NIS Problem
Date: Wed, 16 Sep 1998 15:27:45 -0600 (CST) [thread overview]
Message-ID: <Pine.OSF.3.91.980916152643.18878A-100000@salph1.sask.trlabs.ca> (raw)
Hopefully somebody has experience in these matters:
Starting with the relevant technical details:
Machine:
AlphaPC HDX 533/600
Red Hat Linux release 5.0 (Hurricane)
Kernel 2.0.33 on an alpha
# rpm -qiv ypbind
Name : ypbind Distribution: Hurricane
Version : 3.3 Vendor: Red Hat Software
Release : 2 Build Date: Fri Dec 19
15:45:05 1997
Install date: Mon Sep 14 15:55:03 1998 Build Host: spacely.redhat.com
Group : Networking Source RPM: ypbind-3.3-2.src.rpm
Size : 81837
Packager : Red Hat Software <bugs@redhat.com>
Summary : NIS binding process
# rpm -qiv yp-tools
Name : yp-tools Distribution: Hurricane
Version : 1.2 Vendor: Red Hat Software
Release : 3 Build Date: Mon Nov 3
10:03:59 1997
Install date: Mon Sep 14 16:06:05 1998 Build Host: spacely.redhat.com
Group : Networking/Utilities Source RPM:
yp-tools-1.2-3.src.rpm
Size : 54743
Packager : Red Hat Software <bugs@redhat.com>
URL : http://www-vt.uni-paderborn.de/~kukuk/linux/nis.html
Summary : NIS (YP) clients
# rpm -qiv glibc
Name : glibc Distribution: Hurricane
Version : 2.0.7 Vendor: Red Hat Software
Release : 5 Build Date: Tue Mar 24
14:47:23 1998
Install date: Thu Apr 9 19:23:46 1998 Build Host: spacely.redhat.com
Group : Development/Libraries/Libc Source RPM: glibc-2.0.7-5.src.rpm
Size : 18574492
Packager : Red Hat Software <bugs@redhat.com>
Summary : GNU libc
I have a working Digital Unix NIS server on a LAN and am trying
to get a couple of Alphas running RedHat configured as NIS clients.
However, there seems to be some incompatibilities in the rpc calls. The
portmapper and ypbind seem to be running OK:
# rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 rpcbind
100000 2 udp 111 rpcbind
100005 1 udp 635 mountd
100005 2 udp 635 mountd
100005 1 tcp 635 mountd
100005 2 tcp 635 mountd
100003 2 udp 2049 nfs
100003 2 tcp 2049 nfs
100007 2 udp 835 ypbind
100007 2 tcp 837 ypbind
However, when I do a ypcat for any file, I get the following error:
# ypcat passwd
No such map passwd.byname. Reason: Can't communicate with portmapper
And, whenever a logon attempt is made:
do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused
A Linux book I referenced reported a very similar NIS error and
said this was due to an incompatible change in the way ypbind communicates
binding information to the library function. I downloaded the latest
ypbind source code (ypbind-3.3: the same as in our distribution, but
probably not an alpha release) and found it would not compile due to
incompatible rpc function prototypes. Specifically:
ypbind.h:63: conflicting types for `xdr_domainname'
/usr/include/rpcsvc/yp_prot.h:362: previous declaration of `xdr_domainname'
Anyway, thanks in advance if you have any experience in these matters.
NOTE: I've been following instructions in the docs that come with the
code and the NIS-HOWTO. I'm assuming these are mostly correct and
up-to-date.
Reid van Melle
TRLabs
Saskatoon, SK
reply other threads:[~1998-09-16 21:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox