Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!news.sol.net!newspump.sol.net!news.inc.net!news.moneng.mei.com!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!EU.net!sun4nl!news.eur.encompass.com!Leiden.NL.net!Utrecht.NL.net!news.telebyte.nl!news.hoogehof.nl!not-for-mail From: jvissers@telebyte.nl (Jos Vissers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: NIS Netgroup map doesn't work Date: 23 Jul 1996 14:09:24 +0200 Organization: De Hoogehof Lines: 43 Message-ID: <4t2fdk$7qc@usquebauch.hoogehof.nl> References: <4t0n0g$669@dobie.loop.net> NNTP-Posting-Host: news.hoogehof.nl X-Newsreader: NN version 6.5.0 #9 (NOV) greg@loop.com (Greg Wiley) writes: >Is anyone successfully using netgroup NIS maps under FreeBSD? I've >had yp working for about 8 months but have only recently tried to use the >netgroup features. My problem is that while I can use password entries like: > +::::::::: >and > +user::::::::: >which work as expected, entries like > +@ngroup::::::::: >do not. I have found that usernames in netgroup entries (hostname,username,nis-domain) are restricted to 9 characters. I don't know whether this is a bug or a feature, but it is slightly inconvenient though most usernames are shorter than this. I haven't looked at the nis version included with 2.1.5 but I understand it has been (partly?) rewritten. So maybe that will solve some of the problems with netgroups. But appart from these long names, netgroups work fine: in the netgroup source file: groupname (-,user1,mydomain), (-,user2,mydomain) in the password file: (master.passwd, use vipw) +@groupname::::::::: Works for me. :-) Jos -- # jvissers@telebyte.nl # Jos Vissers # I'm not here, you may leave # # # P.O. Box 31296 # a message after the beep... # # # 6503 CG Nijmegen # ........................... # # # The Netherlands # .....................<beep> #