From owner-freebsd-questions Thu Feb 24 11:20:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from timingpdc.timing.com (timingpdc.timing.com [206.168.13.194]) by hub.freebsd.org (Postfix) with ESMTP id B089937BCE9 for ; Thu, 24 Feb 2000 11:20:05 -0800 (PST) (envelope-from jhein@timing.com) Received: from xmidas.timing.com ([206.168.13.217]) by timingpdc.timing.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 103-49575U100L2S100) with ESMTP id AAA575; Thu, 24 Feb 2000 12:20:07 -0700 Received: (from jhein@localhost) by xmidas.timing.com (8.9.3/8.9.3) id MAA26295; Thu, 24 Feb 2000 12:20:00 -0700 X-Authentication-Warning: xmidas.timing.com: jhein set sender to jhein@xmidas using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14517.33887.949830.166233@gargle.gargle.HOWL> Date: Thu, 24 Feb 2000 12:19:59 -0700 (MST) From: "John E. Hein" To: "Stan Brown" Cc: questions@freebsd.org Subject: Re: FreeBSD 3.4 STABLE as NIS master for HP-UX cluster problems In-Reply-To: <65034116@toto.iv> References: <14517.30969.523549.13215@gargle.gargle.HOWL> X-Mailer: VM 6.75 under Emacs 20.4.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stan Brown wrote at 13:51 -0500 on Feb 24: > On Thu Feb 24 13:31:21 2000 John E. Hein wrote... > > > >Stan Brown wrote at 12:44 -0500 on Feb 24: > > > I am trying my bets to get a FreeBSD 3.4 STABLE machien to act as an > > > NIS master for a domain consisting of mostly HP-UX 10.20 machines. > > > > > > I have set the INSECURE=True flag in /var/yp, but a ypcat passwd from > > > the HP's still returns only a * for the password filed. > > > > > > Can anyone make any sugestiosn as to how to make this work> > > > >Do you mean 'UNSECURE = "True"' in /var/yp/Makefile? > > Uh, yes, that would be it. I alos commented out # S=-s in that file. > Any idea what might be wrong gere? What's the output of the make? What's the generated passwd file look like? Try removing the generated passwd file before running the make. Perhaps you generated the passwd file before uncommenting the UNSECURE line and never changed master.passwd? So the passwd file never got regenerated after updating the makefile (since it was already up to date as far as make was concerned). Here's the relevant part of the Makefile that puts the '*' in the pw field... $(PASSWD): $(MASTER) @echo "Creating new $@ file from $(MASTER)..." @if [ ! $(UNSECURE) ]; then \ $(RCAT) $(MASTER) | \ $(AWK) -F: '{if ($$1 != "+") \ print $$1":*:"$$3":"$$4":"$$8":"$$9":"$$10}' $^ \ > $(PASSWD) ; \ else $(RCAT) $(MASTER) | \ $(AWK) -F: '{if ($$1 != "+") \ print $$1":"$$2":"$$3":"$$4":"$$8":"$$9":"$$10}' $^ \ > $(PASSWD) ; fi Concentrate on that part to see what your problem might be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message