*BSD News Article 58055


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NIS like SUNOS ?
Date: 24 Dec 1995 23:52:39 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 69
Message-ID: <4bkp47$kg@sol.ctr.columbia.edu>
References: <4bfi0f$955@calweb.calweb.com>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Chris Hancock
(ochanco@calweb.com) had the courage to say:

:  I'am looking to get NIS working on a group of FreeBSD PC's.

Yay!

:  The Users are now using Sun IPX's running SUNOS 4.1.3 with a sparc 2
:  server, the IPX's mount /export/home via NFS and use NIS.
:  This the allows users to sit at any IPX and use one password and
:  see the same home directory.

That's what NIS is generally good for.

:  They use Xterms to talk to MANY differnt systems via tcp/ip.
:  So other then some custom openwin menus the porting should be no problum.
:   
:  The group is moving to a new location and will be given 486 PC's I
:  would like to install a FreeBSD network that works like the OLD network.

Yeah...
    
:  I have SUNOS DOCs and my question is how much different is FreeBSD
:  NIS from the SUNOS version? Can I use a SPARC 2 as a NIS server for
:  FreeBSD.

FreeBSD's NIS client facilities are very similar to what you get with
SunOS, with one exception: FreeBSD tries to use master.passwd.byname
and master.passwd.byuid maps for a limited form of shadow password
support through NIS. Is works best when used in conjunction with a
FreeBSD NIS server. If your server doesn't have these maps, FreeBSD will
use the standard passwd.byname and passwd.buiid maps instead. (You
don't have to configure anything for this: it selects the right maps
automagically.)

The best place to start is to get the FreeBSD 2.1.0 distribution and
read the yp(4) and passwd(5) man pages. These describe how to set up
a FreeBSD machine as an NIS client. The ypserv(8) man pages gives some
information abotu setting up a server. The main thing to watch out for
is adding the special '+:::::::::' line to the /etc/master.passwd file.
For starters, you have to add it there and _NOT_ in /etc/passwd. Also,
there have to be nine colons otherwise the pwd_mkdb program will complain.
The man pages explain this.

I have a FreeBSD box running on a network with SunOS, HP-UX, AIX, IRIX
and Solaris machines, all using NIS and all getting along swimingly.

:  I understand the as of 2.0.5 that FreeBSD can be used as a NIS server
:  and client.

That's correct. However you're better off getting 2.1.0. There were a
few bugs in the 2.0.5 server support. (This was the first release with
ypserv in it -- I didn't quite manage to get things as polished as I
would have liked.)

:        Chris Hancock
:        ochanco@pacbell.com

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
License error: The license for this .sig file has expired. You must obtain
a new license key before any more witty phrases will appear in this space.
=============================================================================