From owner-freebsd-current@FreeBSD.ORG Wed Apr 23 14:50:42 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3649437B401 for ; Wed, 23 Apr 2003 14:50:42 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 876BE43F93 for ; Wed, 23 Apr 2003 14:50:39 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.nectar.cc (Postfix) with ESMTP id 22A89E; Wed, 23 Apr 2003 16:50:39 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id 9D8D978C66; Wed, 23 Apr 2003 16:50:38 -0500 (CDT) Date: Wed, 23 Apr 2003 16:50:38 -0500 From: "Jacques A. Vidrine" To: Glenn Johnson Message-ID: <20030423215038.GB22152@madman.celabo.org> References: <20030423210539.GA1348@node1.cluster.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030423210539.GA1348@node1.cluster.srrc.usda.gov> User-Agent: Mutt/1.5.3i-ja.1 cc: current@freebsd.org Subject: Re: groups wrong on NIS clients X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 21:50:42 -0000 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? What is the output of `id -G' on both systems? What is the output of (single line): id -G | perl -e 'foreach (split(/\s+/, <>)) { print $_ . "\t" . join(":", getgrgid($_), "\n"); }' Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se