home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / README.nys < prev    next >
Encoding:
Text File  |  1994-09-20  |  3.1 KB  |  95 lines

  1. Preface: 
  2.     This integrated NYS libc has been tested by quite a few people now
  3.     and seem to work correctly. However I do NOT use shadow passwords,
  4.     but others have reported success. So please test it out and report
  5.     problems to the addresses below.
  6.  
  7. The NYS library is courtesy of Peter Eriksson <pen@signum.se>. Please read
  8. ALL the documentation under nys-0.27 (or whatever the current version is).
  9.  
  10. This integration gives you the following advantages over the "standard" YP
  11. implementation in linux-libc
  12.  
  13.     o    Transparent integration (direct replacement of /lib/libc.so.4.x.y)
  14.     o    Shadow passwords supported via the the /etc/nisswitch.conf file
  15.     o    Complete fallback to file lookups only.
  16.     o    Use NIS, and NIS+ servers
  17.     o    No `ypbind' server required for YP/NIS
  18.  
  19.     ... other neat stuff I can't think of off hand whilst writing this...
  20.  
  21. To make the library:
  22.  
  23.     o    Get the latest nys sources from 
  24.         ftp.lysator.liu.se:/pub/NYS
  25.     and extract it under this libc-linux source directory.
  26.  
  27.     o    Do the ./configure as before and first answer `n' to the question
  28.         Values correct (y/n) [y] ?
  29.     Then go thru all the other questions and the last question will now be
  30.         Build a NYS libc from nys-0.27 (y default) ?
  31.     answer `y' to this.
  32.  
  33.     o    Then issue the command
  34.  
  35.     % make
  36.  
  37. NOTE: if you do not rerun configure, (i.e you just keep your config.in from
  38. previous runs), then you will *have* to do the following
  39.  
  40.     % cd jump/libc-nys
  41.     % ./genfuncs
  42.  
  43. before the "make" command so that the new jump.funcs file is generated.
  44.  
  45. The library generated after compilation is named something like
  46.  
  47.          libc.so.4.5.26
  48.  
  49. and placed under the directory jump/libc-nys. To install I would avdise
  50. copying it to /lib with a name lexiographically greater than the version
  51. number it currently has. Just appending the letter "a" should do the trick.
  52. For example
  53.  
  54.     % cp jump/libc-nys/libc.so.4.5.26 /lib/libc.so.4.5.26a
  55.  
  56. Alternatively I append "nys" to it so I can quickly identify it.
  57. Now run the command
  58.  
  59.     % ldconfig
  60.  
  61. which will reset your cache to use the new library. The dynamic linker
  62. strategy may be examined with the command `ldconfig -p'.
  63.  
  64. NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***
  65.  
  66. Once you start using the new NYS libc, the lookup functions no longer go
  67. thru your /etc/host.conf file. If your lookups fail after you install the new
  68. NYS'able libc library then this is the reason. You have been warned!!! Instead
  69. take a look at the files (version numbers of nys may be different)
  70.  
  71.     nys-0.27/nsw/etc/nsswitch.conf
  72.  
  73. and if you are connecting to NIS servers also
  74.  
  75.     nys-0.27/yp/etc/yp.conf
  76.  
  77. These files must be placed in /etc.
  78.  
  79. The NYS addition has not been NLS'ed. For those who are not familiar with
  80. NLS, this essentially means that the NYS stuff has not been internationalized 
  81. for different languages like the standard libc. This will be done eventually.
  82.  
  83. NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***NOTE***
  84.  
  85. End of info...
  86.  
  87. DLL integration problems to me (Mitch <m.dsouza@mrc-apu.cam.ac.uk>).
  88. NYS problems to Peter (address as above).
  89.  
  90. Good luck.
  91. Mitch
  92.  
  93. Suggested reading:
  94.     sunsite.unc.edu:/pub/Linux/docs/HOWTOS/NIS-HOWTO
  95.