Date: Wed, 23 Apr 2003 17:07:54 -0500 From: Glenn Johnson <gjohnson@srrc.ars.usda.gov> To: "Jacques A. Vidrine" <nectar@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: groups wrong on NIS clients Message-ID: <20030423220754.GA16387@node1.cluster.srrc.usda.gov> In-Reply-To: <20030423215038.GB22152@madman.celabo.org> References: <20030423210539.GA1348@node1.cluster.srrc.usda.gov> <20030423215038.GB22152@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 23, 2003 at 04:50:38PM -0500, Jacques A. Vidrine wrote:
> On Wed, Apr 23, 2003 at 04:05:39PM -0500, Glenn Johnson wrote:
>
> > With today's -current, the group entries for users are not being
> > carried over to the NIS clients. I rebuilt the NIS maps.
> >
> > On the NIS server machine, which has a complete group file for the
> > network, the output of 'groups' for my user account is:
> >
> > glenn wheel kmem operator cluster
> >
> > On the NIS client machines, I have +:*:: in the /etc/group file.
> > Here is the output of groups on an NIS client:
> >
> > glenn
> >
> > Here is the output of 'ypcat group' (edited to just show my account)
> > on an NIS client.
> >
> > kmem:*:2:glenn
> > cluster:*:1000:glenn
> > operator:*:5:root,glenn
> > wheel:*:0:root,glenn
> >
> > I know this is because of the recent NSS commits but what do I need
> > to do to fix this.
>
> Do you have an nsswitch.conf? If so, what are the contents?
No.
> What is the output of `id -G' on both systems?
NIS master (with complete group file):
1001 0 2 5 1000
NIS client (with '+:*::' in group file):
1001
> What is the output of (single line):
>
> id -G | perl -e 'foreach (split(/\s+/, <>)) { print $_ . "\t" . join(":", getgrgid($_), "\n"); }'
NIS master:
1001 glenn:*:1001::
0 wheel:*:0:root glenn:
2 kmem:*:2:glenn:
5 operator:*:5:root glenn:
1000 cluster:*:1000:glenn:
NIS client:
1001 glenn:*:1001::
--
Glenn Johnson
USDA, ARS, SRRC Phone: (504) 286-4252
New Orleans, LA 70124 e-mail: gjohnson@srrc.ars.usda.gov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030423220754.GA16387>
