*BSD News Article 22293


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!pipex!sunic!uts!iesd!herring
From: herring@iesd.auc.dk (B. Erickson Herring)
Subject: Re: [FreeBSD] Is a YP/NIS client available?
In-Reply-To: bouyer@bsdtest.ensta.fr's message of 12 Oct 1993 12:56:50 GMT
Message-ID: <HERRING.93Oct12173600@xiv.iesd.auc.dk>
Sender: news@iesd.auc.dk (UseNet News)
Organization: Mathematics and Computer Science, Aalborg University
References: <661@apdnews.idca.tds.philips.nl> <29cbe8$pca@wzv.win.tue.nl>
	<29e12d$ege@mips.arb-phys.uni-dortmund.de> <29e9ii$5hf@homea.ensta.fr>
Date: 12 Oct 1993 16:35:59 GMT
Lines: 45

Manuel is: bouyer@bsdtest.ensta.fr (Manuel Bouyer)

Manuel> Since yp is implemented in the c library (for the getuid and
Manuel> friend functions), you will have to patch, recompile,
Manuel> reinstall the libc, and then recompile all the distribution
Manuel> and applications.

Bzzt!  Thanks for playing anyway! :-)

FreeBSD is also missing some system calls.  It does not have
setdomainname or getdomainname (or uname, for that matter, but that
has no bearing on the problem at hand...).

And the functions are getpwent() and friends, not getuid().

And to make the libc stuff useful, you also need
/usr/src/usr.sbin/yp/*.  And you also need /usr/src/bin/domainname/*
itself.  And the rpc include files are not there.

So, there is a bit of work to be done.  I am almost finished.  The
kernel is recompiled, /bin/domainname works, and the /usr/sbin/yp*
programs all compile and link, but ypbind does not bind.  I am not
sure why, yet, and I may not get a chance to find out.  The guys who
own the PC I am using are agitating for a switch back to NetBSD.

If there is anyone who wants current diffs of this stuff (against
FreeBSD-EPSILON) then you'd better holler quick -- I imagine that it
will get switched back tomorrow.

Regards, Erick

P.S. None of this work is original -- the include files are copyright
Sun and the yp-stuff is all Theo's.  I just integrated it into
FreeBSD.  I am bummed that we are switching back to NetBSD before I
finished.  I hope that a merge happens sooner rather than later, but I
don't think that it will...


--
-----
Erick Herring           |  Computation is the art of carefully throwing
H Data, Aalborg         |  away information [and] Life is the art of
UNIX Consulting         |  carefully throwing away opportunities, an 
SysAdmin & Programming  |  interesting coincidental parallel.
herring@iesd.auc.dk     |  - Guy L. Steele Jr.