Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 1999 10:39:06 -0500
From:      Robert Beer <r-beer@onu.edu>
To:        cjclark@home.com, jobaldwi@vt.edu (John Baldwin)
Cc:        cjclark@home.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Why are NIS netgroups  ignored...
Message-ID:  <l0313030eb31c12888979@[140.228.15.35]>
In-Reply-To: <199903212351.SAA05651@cc942873-a.ewndsr1.nj.home.com>
References:  <XFMail.990321181326.jobaldwi@vt.edu> from John Baldwin at "Mar 21, 99 06:13:26 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
At 6:51 PM -0500 3/21/1999, Crist J. Clark wrote:
>John Baldwin wrote,
>> On 21-Mar-99 Crist J. Clark wrote:
>> > John Baldwin wrote,
>> > OK, next questions. ;) Does,
>> > 
>> > % ypcat -x
>> > 
>> > Show that the netgroup maps are being transfered to the machine in
>> > question?
>> 
>> Apparently not:
>> 
>> > ypcat -x
>> Use "passwd" for "passwd.byname"
>> Use "master.passwd" for "master.passwd.byname"
>> Use "group" for "group.byname"
>> Use "networks" for "networks.byaddr"
>> Use "hosts" for "hosts.byaddr"
>> Use "protocols" for "protocols.bynumber"
>> Use "services" for "services.byname"
>> Use "aliases" for "mail.aliases"
>> Use "ethers" for "ethers.byname"
>
>OK, then I am starting to think it is a server problem, not the
>client. The server does not seem to be pushing the netgroup
>maps. But...

This seems to be some sort of bug in the ypcat -k command.  I use a netgroup file and it creates:

-rw-------  1 root  bin   40960 Mar 19 16:26 netgroup
-rw-------  1 root  bin   40960 Mar 19 16:26 netgroup.byhost
-rw-------  1 root  bin   40960 Mar 19 16:26 netgroup.byuser

under the /var/yp/Domain_Name directory.  Look for the files and the fact that a ypcat and ypmatch work with the netgroup information means these files exist.


---
Bob Beer <r-beer@onu.edu>
Ohio Northern University, Academic Computer Services, Ada, OH  45810




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l0313030eb31c12888979>