Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA2289 ; Mon, 01 Mar 93 10:52:29 EST Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!xenlink!fsa.ca!deraadt From: deraadt@fsa.ca (Theo de Raadt) Subject: RELEASE: free YP implimentation Message-ID: <DERAADT.93Feb25225026@newt.fsa.ca> Sender: news@fsa.ca Nntp-Posting-Host: newt.fsa.ca Organization: little lizard city Date: Fri, 26 Feb 1993 05:50:26 GMT Lines: 74 I think we can say that my YP implimentation has gone through a fair amount of testing. Anyone who wants to play with it can get it from ref.tfs.com:/usr/home/deraadt/src/yp/v10.patch (PREFERRED!) (or) fsa.ca:/pub/v10.patch (SLOW) (or) send me mail and i will mail it to you. These patches are relative to a fairly 386BSD/NET2 OS. The format is as one monster 4000 line diff, just run Larry Wall's patch and clean up any messes it does afterwards. Sorry -- the installation of this has not been tested since I only have one machine. There are (minimal) instructions for how to install it; they are included below. (I would really appreciate some feedback from people who play with this.) In my setup (sun3/sunos4.1.1 yp server) it works very well. There is one lingering bug that causes an error message to be spat out about once a day (_yp_dobind: socket 4 is busted!Bad file descriptor) and I'm trying to track that. Something is robbing me of a udp socket.. Looking forwards to comments and experiences. <tdr. ---------------------------------------------------------------------- Currently the following routines use YP: getpwent, getpwnam, getpwuid getgrent, getgrnam, getgrgid getrpcent, getrpcbyname, getrpcbynumber New routines supplied for YP: ypclnt, yp_get_default_domain, yp_bind, yp_unbind, yp_match, yp_first, yp_next, yp_all, yp_order, yp_master, yperr_string, ypprot_err (plus, librpc is now part of libc) New binaries: ypbind, ypset, ypwhich, ypcat, ypmatch, yppasswd Changed binaries: passwd ---------------------------------------------------------------------- Copyright 1993 Theo de Raadt deraadt@fsa.ca According to the standard BSD copyright. (better than the GNU copyleft -- ie. use it for whatever purposes you want.) DO THIS BEFORE Ensure you have the domainname patches installed Ensure you have the real crypt(3) installed mkdir /usr/include/rpcsvc mkdir /usr/src/lib/libc/yp mkdir /usr/src/usr.sbin/yp mkdir /usr/src/usr.sbin/yp/ypcat mkdir /usr/src/usr.sbin/yp/ypmatch mkdir /usr/src/usr.sbin/yp/yppasswd mkdir /usr/src/usr.sbin/yp/ypset mkdir /usr/src/usr.sbin/yp/ypwhich cd /usr/lib; ln -s librpc.a librpcsvc.a cd /usr/src/lib/libc; mkdir rpc; cd rpc; cp ../../librpc/rpc/* . rm /usr/src/lib/libc/rpc/Makefile At this point, you want to look at the patches below.. DO THIS AFTER cd /usr/src/lib/librpc; make; make install cd /usr/src/lib/libc; make; make install cd /usr/src; foreach i ( bin usr.bin sbin usr.sbin libexec ) (cd $i; make -k; make -k install ) end -- This space not left unintentionally unblank. deraadt@fsa.ca