Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!rutgers!cbmvax!amix!ag From: ag@amix.commodore.com (Keith Gabryelski) Newsgroups: comp.unix.amiga Subject: Re: NIS and DNS under Amix Message-ID: <1727@amix.commodore.com> Date: 14 Apr 91 00:30:35 GMT References: <47130@ut-emx.uucp> Reply-To: ag@amix.commodore.com (Keith Gabryelski) Organization: Commodore-Amiga Unix Development Lines: 31 In article <47130@ut-emx.uucp> mic@emx.utexas.edu (Mic Kaczmarczik) writes: > 1) Use Sun's NIS (YP) to augment the local password file with our > workstation lab password database. The NIS programs and libraries > appear to be available, but when I start up ypbind and put a NIS > ``magic cookie'' at the end of /etc/passwd, programs that do password > file lookups (e.g. echo ~mic) don't find anything that isn't in > the local password file. YP does not work under the current version of Amiga Unix. It may work under 2.0. > 2) Make host name lookups use the Internet Domain Name Service > directly. Once again, the base resolver library is there, and I > can create /etc/resolv.conf and make nslookup work, but how do I > make other applications use the resolver? To use DNS you must replace the socket library with the DNS shared socket library. This is not explained in our installation manual but is explained in the SVR4 documentation (Network Admin Manual?). Do this by: # rm /usr/lib/libsocket.so # ln /usr/lib/libsockdns.so /usr/lib/libsocket.so (libsocket.so is currently linked to libsockhost.so so you needn't make a backup copy). Pax, Keith -- Keith Gabryelski Advanced Products Group ag@amix.commodore.com ...!cbmvax!amix!ag