home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!usenet.ins.cwru.edu!agate!ucbvax!HWCAE.AZ.HONEYWELL.COM!davidy
- From: davidy@HWCAE.AZ.HONEYWELL.COM (David Young)
- Newsgroups: comp.sys.apollo
- Subject: Bug in Domain/OS NIS (NFS4.1)
- Message-ID: <199301082145.AA04124@gotham.hwcae.az.Honeywell.COM>
- Date: 8 Jan 93 21:45:40 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 51
-
-
- 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?
-