From owner-freebsd-hackers Sat Jun 17 17:05:43 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA22209 for hackers-outgoing; Sat, 17 Jun 1995 17:05:43 -0700 Received: from tfs.com (mailhub.tfs.com [140.145.250.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id RAA22197 for ; Sat, 17 Jun 1995 17:05:41 -0700 Received: from calvary.tfs.com by tfs.com (smail3.1.28.1) with SMTP Received: by calvary.tfs.com (5.0/client-1.5) id AA17167; Sat, 17 Jun 1995 17:05:38 +0800 From: "Freeman P. Pascal IV" Message-Id: <9506171705.ZM17165@calvary> Date: Sat, 17 Jun 1995 17:05:36 -0700 In-Reply-To: "House of Debuggin'" "Re: NIS woes with 2.0.5-RELEASE..." (Jun 17, 11:55am) References: <199506171555.LAA02097@skynet.ctr.columbia.edu> Reply-To: pascal@TFS.COM X-Mailer: Z-Mail (3.2.0 16aug94) To: "House of Debuggin'" Subject: Re: NIS woes with 2.0.5-RELEASE... Cc: hackers@freebsd.org, phk@ref.tfs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii content-length: 2419 Sender: hackers-owner@freebsd.org Precedence: bulk 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 | | +------------------------------------------------------------------------+