Thread View: fj.mail-lists.apollo
1 messages
1 total messages
Started by David Young
Fri, 08 Jan 1993 21:45
Bug in Domain/OS NIS (NFS4.1)
Author: David Young
Date: Fri, 08 Jan 1993 21:45
Date: Fri, 08 Jan 1993 21:45
51 lines
2505 bytes
2505 bytes
I just received my "official" copy of NFS 4.1 the other day, and
noticed that the bug I reported to HP has not been fixed (too late to
make the final cut, but I was hoping they would at least include an
errata sheet! :)
The problem is the services map is created using the wrong word for
the database key. I've confirmed this by looking at NIS on a Sun and
HP-UX machine. It becomes noticeable when you boot a Sun. When it
binds itself to a slave that is hosted by the NIS master on the
Apollo, it complains about a number of services not being available.
I traced it back to an incorrectly built NIS services map.
To fix the problem, find this in the /var/yp/Makefile:
services.time: $(DIR)/services
@(awk 'BEGIN { OFS="\t"; } $$1 !~ /^#/ { print $$2, $$0 }' \
$(DIR)/services $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/services.byname;
And change the:
{ print $$1, $$0 }
to be:
{ print $$2, $$0 }
You can refer HP to:
Service Request Number 5003095000
Customer reference number W1813856
Comsys number J600
One other thing I noticed too. If you look in the Makefile at how the
.group file is created, it will silently (without warning!) drop
group entries that are >= to 512 characters:
@(rm -f .group; cat $(DIR)/group | awk 'BEGIN { FS=":"} /^[a-zA-Z0-9_]/ { \
if (length < 512) print $$0 \
}' > .group)
So if your NIS map is missing a group or two... this might be the
reason if you have a large number of users that are members of one
particular group.
--
David J. Young Honeywell -- Air Transport Systems Division
Phone: 602.436.2968 P.O. Box 21111 M/S AZ75-K26E2 Phoenix AZ 85036
davidy@hwcae.honeywell.com uunet!asuvax!apciphx!hwcae!davidy
AMA AMUG APDA BMWCCA Golfer Private Pilot Scuba-Diver and more....
Do you know Kimball? EQ Kimball, the insurance man?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads