Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!vixen.cso.uiuc.edu!howland.erols.net!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 client under FreeBSD Date: 11 Sep 1996 14:12:16 GMT Organization: Columbia University Center for Telecommunications Research Lines: 41 Message-ID: <516hc1$ms8@sol.ctr.columbia.edu> References: <dkleinh.842416763@isotope.ps.uci.edu> NNTP-Posting-Host: startide.ctr.columbia.edu X-Newsreader: TIN [version 1.2 PL2] Daring to challenge the will of the almighty Leviam00se, Dirk Kleinhesselink (dkleinh@isotope.ps.uci.edu) had the courage to say: : We are using NIS to allow users to log in to several local machines : with the same userids and passwords. Our NIS servers are a SUN OS Sparc : and a SGI running IRIX. I enabled the NIS client on my FreeBSD box : (in /etc/sysconfig) (I'm running 2.1.5-Release) and it (ypbind) starts : up ok, and the ypcat and ypmatch utilities function correctly, but when : a user whose userid and password come from the server tries to login, : the password/userid combination is not accepted. Anyone using NIS with : FreeBSD or have an idea why it fails ? Maybe because of FreeBSD shadow : password vs. Sun OS/IRIX non-shadow ? : Thanks, : Dirk (dkleinh@isotope.ps.uci.edu) Did you read the passwd(5) man page in FreeBSD where it tells you how to turn on NIS passwd map support? For now, all you have to do is add: +::::::::: to /etc/master.passwd (using vipw!!!!) and +::: to /etc/group Don't try to get clever by adding *'s or 0's to some of the fields in +:::::::::. The passwd(5) man page explains exactly why you shouldn't do that and what will happen if you do. FreeBSD is perfectly happy being a client to a SunOS or other NIS server that doesn't support master.passwd.bywhatever maps. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you." =============================================================================