Date: Sat, 17 Jun 1995 17:05:36 -0700 From: "Freeman P. Pascal IV" <pascal@mailhub.tfs.com> To: "House of Debuggin'" <wpaul@skynet.ctr.columbia.edu> Cc: hackers@freebsd.org, phk@ref.tfs.com Subject: Re: NIS woes with 2.0.5-RELEASE... Message-ID: <9506171705.ZM17165@calvary> In-Reply-To: "House of Debuggin'" <wpaul@skynet.ctr.columbia.edu> "Re: NIS woes with 2.0.5-RELEASE..." (Jun 17, 11:55am) References: <199506171555.LAA02097@skynet.ctr.columbia.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 17, 11:55am, House of Debuggin' wrote:
> Subject: Re: NIS woes with 2.0.5-RELEASE...
> [problems with NIS+ server and FreeBSD client]
>
> Well, if you're getting 'procedure not available' errors when trying
> to do a yp_order(), then I guess the NIS+ 'compatibility' mode isn't
> all that compatible. I wish to hell I had an NIS+ server over here
> that I could have checked this with.
>
> Tell me: if you go to one of the SunOS 4 or HP-UX machines and
> use the yppoll command (i.e. 'yppoll passwd.byname') what does
> it say? This command does a call to yp_order() as well.
>
Here's the ouptut from '/usr/etc/yp/yppoll passwd.byname' on a
SunOS 4.1.3_U1 machine:
[pascal@casesrv(ttyp7)]<3> /usr/etc/yp/yppoll passwd.byname
Can't make YPPROC_ORDER call to ypserv at (null).
Reason: RPC: Procedure unavailable
As you said, looks like NIS+ compatiblity mode is not so compatible.
I'll check our Sun Solve account to see if yp_order not being supported
under NIS+ is mentioned or not.
> Anyway, if you need a quick fix, ftp a fresh copy of
> /usr/src/lib/libc/gen/getpwent.c and try rebuilding libc with it.
> (You'll have to relink some static binaries too, I'm afraid). I
> patched it last night to use yp_first() instead of yp_order() to
> check for the 'master.passwd.*' maps. I used yp_order() at first
> because it was faster. *sigh*
>
Will do. I probably wont be able to get to it until Monday, but I'll
let you know how it works out.
Thanks for your quick response.
> -Bill
>-- End of excerpt from House of Debuggin'
--
+------------------------------------------------------------------------+
| For God so loved the world, that he gave his only begotten Son, that |
| whosoever believeth in him should not perish, but have everlasting |
| life. |
| - John 3:16 (KJV) |
+------------------------------------------------------------------------+
| Freeman P. Pascal IV | |
| Senior System Administrator | Phone: (510) 645-3454 |
| TRW Financial Systems, Inc. | Fax: (510) 645-3069 |
| 300 Lakeside Drive | Email: pascal@tfs.com |
| Oakland, CA 94612-3540 | |
+------------------------------------------------------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9506171705.ZM17165>
