From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11780 invoked from network); 16 Sep 1998 21:29:09 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Sep 1998 21:29:09 -0000 Received: from gateway.sask.trlabs.ca (xxxxxxxx@gateway.sask.trlabs.ca [192.139.19.101]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA07570 for ; Wed, 16 Sep 1998 17:29:06 -0400 Received: from salph1.sask.trlabs.ca ([192.168.129.106] EHLO salph1.sask.trlabs.ca ident: IDENT-NOT-QUERIED [port 22027]) by gateway.sask.trlabs.ca with ESMTP id <27696-6433>; Wed, 16 Sep 1998 15:29:36 -0600 Received: from reid@localhost by mailhost.sask.trlabs.ca id <11717-718>; Wed, 16 Sep 1998 15:27:56 -0600 Date: Wed, 16 Sep 1998 15:27:45 -0600 (CST) Sender: Reid van Melle From: Reid van Melle To: axp-list@redhat.com Subject: NIS Problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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 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 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