From owner-freebsd-questions Tue Aug 24 11:10:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from FergInc.com (toth.ferginc.com [205.139.23.69]) by hub.freebsd.org (Postfix) with ESMTP id CA72614BDE for ; Tue, 24 Aug 1999 11:10:26 -0700 (PDT) (envelope-from branson@FergInc.com) Received: from belmakor.hq.ferg.com (belmakor.hq.ferg.com [172.16.74.60]) by FergInc.com (8.9.2/8.9.1) with ESMTP id OAA04855; Tue, 24 Aug 1999 14:07:47 -0400 (EDT) Received: (from branson@localhost) by belmakor.hq.ferg.com (8.9.3/8.8.7) id OAA67379; Tue, 24 Aug 1999 14:07:55 -0400 (EDT) Date: Tue, 24 Aug 1999 14:07:55 -0400 From: Branson Matheson To: Nathaniel Schein Cc: Owner-Freebsd-Questions Subject: Re: NIS and AMD Message-ID: <19990824140755.C66491@belmakor.hq.ferg.com> Reply-To: Branson.Matheson@FergInc.com References: <001401beee58$eb715b40$898110ac@nschein.prisa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <001401beee58$eb715b40$898110ac@nschein.prisa.com>; from Nathaniel Schein on Tue, Aug 24, 1999 at 10:48:48AM -0700 Organization: Ferguson Enterprises, Inc. X-Operating-System: FreeBSD 3.2-RELEASE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Aug 24, 1999 at 10:48:48AM -0700,Nathaniel Schein did mutter: > I have been trying to integrate AMD and NIS. I have included the appropriate > maps and a `ypcat -k amd.home` shows a good amd map. The problem is that AMD > and the NIS client have become mutually exclusive for me. If I enable both > in the 'rc.conf' file the boot up proceedure will hang after displaying > 'amd'. But if I comment out the NIS invocation or the AMD invocation in the > 'rc.conf' file it boots without a problem. The 'rc.conf' lines are as > follows: > > nis_client_enable="YES" > nisdomainname="prisa.com" > nis_yppasswdd_enable="YES" > amd_enable="YES" > amd_flags="-k i386 -y prisa.com -d prisa.com -l syslog:amd /home amd.home > /share amd.share" > > How do I get AMD to use NIS maps? > If anyone has any ideas the help would be much appreciated. Sounds like your map file is not NISified.. here is the Makefile snipit that I used to generate a good NIS map from an amd map: $(YPDBDIR)/$(DOM)/amd.ump.time: $(YPSRCDIR)/amd.ump @/usr/bin/cat $(YPSRCDIR)/amd.ump | \ /usr/local/bin/perl \ -pe 's:\\\s*\n|\s*#.*|^\s*\n::g;s:\s{2,}: :g' | \ $(MAKEDBM) - $(YPDBDIR)/$(DOM)/amd.ump; @touch $(YPDBDIR)/$(DOM)/amd.ump.time; @echo "updated amd.ump"; @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) amd.ump; fi @if [ ! $(NOPUSH) ]; then echo "pushed amd.ump"; fi Note.. this is from an HP Makefile. So the Makefile targets may need modification if you drop it in place. - branson ------------------------------------------------------------------------------- Branson Matheson " If you are falling off of a mountain, Unix Systems Manager You may as well try to fly." Ferguson Enterprises, Inc. - Delenn, Minbari Ambassador ( $statements = ) !~ /Corporate Opinion/; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message