*BSD News Article 67652


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.dfn.de!ergo.cael.pub.ro!news
From: Alex Maranda <alex@arrakis.comm.pub.ro>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: NIS client setup
Date: Fri, 03 May 1996 12:57:34 +0200
Organization: Institute of MicroTechnology
Lines: 20
Message-ID: <3189E69E.727C@arrakis.comm.pub.ro>
NNTP-Posting-Host: arrakis.comm.pub.ro
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (X11; I; HP-UX A.09.03 9000/712)

Hi everybody,
	I have encountered problems in setting up NIS as client
 on a few FreeBSD2.1 boxes. I can see the NIS maps with
ypcat,ypmatch,..
but I fail to add the correct entry to /etc/master.passwd.
I tried +::0:0::0:0::: instead of +::0:0::: ( which of course does
not 
work any more with the new passwd format) . After running 
pwd_mkdb -p /etc/master.passwd, I *can* log in on users from the NIS
server,
..but the actual uid:gid given to the session is 0:0 (..ouch). The
login
directory is the right one. I suspect that the actual "+"
incantation,
(which by the way is reffered as a special "+" entry in the man page)
is more subtle than my silly guess.

Any hint would be invaluable.thanks

alex.