Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 12:19:59 -0700 (MST)
From:      "John E. Hein" <jhein@timing.com>
To:        "Stan Brown" <stanb@awod.com>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD 3.4 STABLE as NIS master for HP-UX cluster problems
Message-ID:  <14517.33887.949830.166233@gargle.gargle.HOWL>
In-Reply-To: <65034116@toto.iv>
References:  <14517.30969.523549.13215@gargle.gargle.HOWL>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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