From owner-freebsd-questions Tue Dec 8 20:37:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29564 for freebsd-questions-outgoing; Tue, 8 Dec 1998 20:37:54 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29559 for ; Tue, 8 Dec 1998 20:37:52 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id XAA21768 for freebsd-questions@FreeBSD.ORG; Tue, 8 Dec 1998 23:38:27 -0500 (EST) (envelope-from cjc) Received: from localhost (localhost.ewndsr1.nj.home.com [127.0.0.1]) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) with ESMTP id XAA21694 for ; Tue, 8 Dec 1998 23:30:29 -0500 (EST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: from mail by fetchmail-4.5.5 POP3 for (single-drop); Tue, 08 Dec 1998 23:30:29 EST Received: from h2.mail.home.com ([24.2.2.28]) by ha1.rdc1.nj.home.com (Netscape Mail Server v2.02) with ESMTP id AAA7655 for ; Tue, 8 Dec 1998 20:29:20 -0800 Received: from mx2-e.mail.home.com (mx2-e.mail.home.com [24.2.2.30]) by h2.mail.home.com (8.9.1/8.9.0) with ESMTP id UAA03904 for ; Tue, 8 Dec 1998 20:29:19 -0800 (PST) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by mx2-e.mail.home.com (8.9.1/8.9.1) with ESMTP id UAA19341 for ; Tue, 8 Dec 1998 20:29:18 -0800 (PST) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id XAA21687 for cjclark@home.com; Tue, 8 Dec 1998 23:29:59 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199812090429.XAA21687@cc942873-a.ewndsr1.nj.home.com> Subject: NIS Problems (was: BIND Problems) In-Reply-To: <199812080550.AAA17563@cc942873-a.ewndsr1.nj.home.com> from "Crist J. Clark" at "Dec 8, 98 00:50:46 am" To: cjclark@home.com Date: Tue, 8 Dec 1998 23:29:59 -0500 (EST) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Following up my own mail... I know, bad form, but I was hoping the lack of response might be due to the fact I really messed up the Subject line. I'm asking about NIS, specifically about ypbind, and as a result, I was thinking 'bind' and completely mislabled the mail on the firat pass. However, I may have serendipiously been on the correct path. I think the lagging I have been getting may due to host lookup issues in some cases. I've tried to follow every recipe for NIS I've found as closely as possible, but it is still not working for this machine. Does anyone have any suggestions or questions that could help me narrow down the problem? The fact I can't find any error messages makes the situation difficult for me to diagnose. Thanks for any help. Crist J. Clark wrote, > I am using my PC at work as a testbed, or more of a practice client > for using NIS more over our networks. Right now, I have four SGIs > working smoothly with one NIS master and the other three as clients > (the master is also a client to itself). I want to operate my FreeBSD > on my PC off of this same IRIX box. > > I have set up my FreeBSD machine to be a NIS client. I added the > apropriate '+' lines to aliases, passwd, and group. I run ypbind at > startup (with '-S' since I think there are some troubles that might > help that I mentione below). I made sure domainname is correct. > > However, it doesn't work. My suspicion is that it is not talking to > the master. The SGI's are all on the same hub, so broadcasts always > find their way betwee them. My PC has a gw PC in between (due to > limitations in our buidling's thin net wiring) it and the NIS master. > I'm not sure how to get them to find each other past it. I think the > '-S' option on 'ypbind' should fix that from the client end, but it > doesn't work. > > Now, there haven't been any FreeBSD specific questions yet (not that > I wouldn't consider the above fair game for this maillist), but the > way ypbind fails make me wonder if something else is not right. First, > ypbind likes to spawn another ypbind process. When I try to log in or > su, any time /etc/passwd is accessed, the command hangs for minutes, > then it does come back and completes (with no errror messages I can > find) successfully. Also, NFS connections act even more strange than > usual. The NFS mount to the NIS master I'm having trouble with seems > fine, but the NFS mount of another FreeBSD box hangs up for minutes. I > can't tell id that's an independent problem or another symptom of the > ypbind heartache. And all of these troubles seem to stop when I > 'killall yp.' > > Anyone have suggestions or pointers? I've been over the various NIS > manpages on FreeBSD and IRIX a few times, but they get to be circular > to the beginner. I have a copy of what I believe is the bible on these > systems, the O'Rielly NFS and NIS book. The parts I've tried to use as > cookbook instructions are deceptively easy. Pointers to specific parts > that may be of interest would be much appreciated too. > -- > Crist J. Clark cjclark@home.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message