home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / apollo / 4212 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.3 KB

  1. 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
  2. From: davidy@HWCAE.AZ.HONEYWELL.COM (David Young)
  3. Newsgroups: comp.sys.apollo
  4. Subject: Bug in Domain/OS NIS (NFS4.1)
  5. Message-ID: <199301082145.AA04124@gotham.hwcae.az.Honeywell.COM>
  6. Date: 8 Jan 93 21:45:40 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 51
  11.  
  12.  
  13. I just received my "official" copy of NFS 4.1 the other day, and
  14. noticed that the bug I reported to HP has not been fixed (too late to
  15. make the final cut, but I was hoping they would at least include an
  16. errata sheet! :)
  17.  
  18. The problem is the services map is created using the wrong word for
  19. the database key.  I've confirmed this by looking at NIS on a Sun and
  20. HP-UX machine.  It becomes noticeable when you boot a Sun.  When it
  21. binds itself to a slave that is hosted by the NIS master on the
  22. Apollo, it complains about a number of services not being available.
  23. I traced it back to an incorrectly built NIS services map.
  24.  
  25. To fix the problem, find this in the /var/yp/Makefile:
  26.  
  27. services.time: $(DIR)/services
  28.     @(awk 'BEGIN { OFS="\t"; } $$1 !~ /^#/ { print $$2, $$0 }' \
  29.         $(DIR)/services $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/services.byname;
  30.  
  31. And change the:
  32.  { print $$1, $$0 }
  33. to be:
  34.  { print $$2, $$0 }
  35.  
  36. You can refer HP to:
  37.  
  38.      Service Request Number 5003095000
  39.      Customer reference number W1813856
  40.      Comsys number J600
  41.  
  42.  
  43. One other thing I noticed too.  If you look in the Makefile at how the
  44. .group file is created, it will silently (without warning!) drop
  45. group entries that are >= to 512 characters:
  46.  
  47.     @(rm -f .group; cat $(DIR)/group | awk 'BEGIN { FS=":"} /^[a-zA-Z0-9_]/ { \
  48.         if (length < 512) print $$0 \
  49.         }' > .group)
  50.  
  51. So if your NIS map is missing a group or two... this might be the
  52. reason if you have a large number of users that are members of one
  53. particular group.
  54.  
  55.  
  56.  
  57. --
  58. David J. Young                      Honeywell -- Air Transport Systems Division
  59. Phone: 602.436.2968              P.O. Box 21111 M/S AZ75-K26E2 Phoenix AZ 85036
  60. davidy@hwcae.honeywell.com                    uunet!asuvax!apciphx!hwcae!davidy
  61. AMA   AMUG  APDA  BMWCCA  Golfer  Private Pilot  Scuba-Diver  and more....
  62. Do you know Kimball?  EQ Kimball, the insurance man?
  63.