Date: Wed, 4 Jun 1997 20:10:02 -0700 (PDT) From: Bill Paul <wpaul@skynet.ctr.columbia.edu> To: freebsd-bugs Subject: Re: bin/3778: ypbind -S domainname,server1,... does not function Message-ID: <199706050310.UAA02439@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3778; it has been noted by GNATS.
From: Bill Paul <wpaul@skynet.ctr.columbia.edu>
To: jin@george.lbl.gov (Jin Guojun[ITG])
Cc: freebsd-gnats-submit@freebsd.org, jin@iss-p1.lbl.gov
Subject: Re: bin/3778: ypbind -S domainname,server1,... does not function
Date: Wed, 4 Jun 1997 22:56:32 -0400 (EDT)
Of all the gin joints in all the towns in all the world, Jin Guojun[ITG]
had to walk into mine and say: >
[chop]
> > It works, but ypwhich kills it. That is, I cannot use ypwhich to fin out
> > which ypserver is currently using.
> >
> > The ypbind is killed a couple of seconds after ypwhich command issued.
>
> - Exactly what FreeBSD release are you running.
> - Exactly what arguments do you use when invoking ypbind.
>
> # uname -a
> FreeBSD fudd.lbl.gov 2.1.7.1-RELEASE FreeBSD 2.1.7.1-RELEASE #0: Thu May 29 02:29:22 PDT 1997 root@iss-p6.lbl.gov:/usr/src/sys/compile/MinMax i386
Ach... okay. This is the problem: the ypbind code from 2.2.x and up will
not work correctly on 2.1.x without taking special precautions. I originally
suggested that you try the version from FreeBSD-current because your
original PR contained a version tag that said FreeBSD 2.2-RELEASE, so
I assumed that's what you were using.
There are two things you can do:
1) Compile a static ypbind binary on a 2.2.x or better machine and use
that on your 2.1.7.1 machine.
2) Since I develop this stuff on my home machine which still runs 2.1.0,
I have compiled versions of the newer YP tools that will run on 2.1.x.
You can FTP a copy of a ypbind executable from my home machine if you
can't find a 2.2.x or better machine on which to build your own.
The binary is at: ftp://skynet.ctr.columbia.edu/pub/freebsd/nis/ypbind
I have a very slow link, but the binary is only about 30K.
-Bill
--
=============================================================================
-Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu
Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
"It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706050310.UAA02439>
