Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 14:07:55 -0400
From:      Branson Matheson <Branson.Matheson@FergInc.com>
To:        Nathaniel Schein <nschein@prisa.com>
Cc:        Owner-Freebsd-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: NIS and AMD
Message-ID:  <19990824140755.C66491@belmakor.hq.ferg.com>
In-Reply-To: <001401beee58$eb715b40$898110ac@nschein.prisa.com>; from Nathaniel Schein on Tue, Aug 24, 1999 at 10:48:48AM -0700
References:  <001401beee58$eb715b40$898110ac@nschein.prisa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 = <BRANSON> ) !~ /Corporate Opinion/;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990824140755.C66491>