From owner-freebsd-bugs Mon Apr 7 11:00:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA27104 for bugs-outgoing; Mon, 7 Apr 1997 11:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA27097; Mon, 7 Apr 1997 11:00:02 -0700 (PDT) Resent-Date: Mon, 7 Apr 1997 11:00:02 -0700 (PDT) Resent-Message-Id: <199704071800.LAA27097@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:(from nobody@localhost) by.freefall.freebsd.org.id.KAA26961;Mon; (8.8.5/8.8.5);, 7 Apr 1997 10:59:04.-0700 (PDT) Message-Id: <199704071759.KAA26961@freefall.freebsd.org> Date: Mon, 7 Apr 1997 10:59:04 -0700 (PDT) From: ush@netlab.is.tsukuba.ac.jp To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/3221: rpc.rusersd : can't communicate with SunOS 5.x rusers client. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 3221 >Category: bin >Synopsis: rpc.rusersd : can't communicate with SunOS 5.x rusers client. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 7 11:00:01 PDT 1997 >Last-Modified: >Originator: Hiroyuki Ushine >Organization: Computer Networks Laboratory, Univ of Tsukuba, Japan >Release: 3.0-970209-SNAP >Environment: FreeBSD efreet.netlab.is.tsukuba.ac.jp 3.0-970209-SNAP FreeBSD 3.0-970209-SNAP #0: Mon Mar 31 21:31:37 JST 1997 ush@efreet.netlab.is.tsukuba.ac.jp:/usr/src/sys/compile/EFREET i386 >Description: SunOS 5.x "rusers" client(supported rusers protocol 2-3) can communicate with SunOS 4.x(supported 1-2) and OpenBSD(supported 1-3). But can't communicate with FreeBSD, Linux and other platforms(supported 1-2). >How-To-Repeat: >Fix: I think Sun RPC rusers protocol 2 implementation is different others implementation in detail. But, I don't know which is bad implementaion. To Fix this problem, replace OpenBSD 2.0's RPC. But it's dangerous to merge source-tree, I made rusersd replacement package from OpenBSD 2.0. ------ [INSTALL] 1) get ftp://jaz.jp.freebsd.org/pub/incoming/PUT-here/rusersd3.tgz 2) extract rusersd3.tgz (tar+gzip) 3) cd rpc.rusersd 4) cd librpcsvc 5) make 6) cd .. 7) make 8) su 9) mv /usr/libexec/rpc.rusersd /usr/libexec/rpc.rusersd.orig 10) install -c -s -o bin -g bin -m 555 rpc.rusersd /usr/libexec 11) edit /etc/inetd.conf before: rusersd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd after: rusersd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd 12) killall -HUP inetd >Audit-Trail: >Unformatted: