From owner-freebsd-questions@FreeBSD.ORG Wed Apr 6 15:23:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C3D416A4CE for ; Wed, 6 Apr 2005 15:23:35 +0000 (GMT) Received: from jbhosting.de (mail.jbhosting.de [80.190.201.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 150A143D1D for ; Wed, 6 Apr 2005 15:23:34 +0000 (GMT) (envelope-from jonas@schiebtsich.net) Received: (qmail 68625 invoked by uid 545); 6 Apr 2005 15:23:30 -0000 Received: from unknown (HELO ?192.168.0.77?) (jonsonn@jbhosting.de@213.155.74.126) by mx010.jbhosting.de with (RC4-MD5 encrypted) SMTP; 6 Apr 2005 15:23:30 -0000 From: jonas Organization: schiebtsich.net To: freebsd-questions@freebsd.org Date: Wed, 6 Apr 2005 17:23:19 +0200 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504061723.20099.jonas@schiebtsich.net> Subject: strange kern.ngroups problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 15:23:35 -0000 Hi questions list, I have a set of users in a NIS/YP database who may login on multiple machines. Now for some reason, on one of those machines (5.3-RELEASE-p6), any user who belongs to more groups than 4 on the NIS/YP server cannot login any more. If I'm using su as root to become this user I get: su: setusercontext: Invalid argument This is only the case on this one 5.3-R-p6 machine. All machines have kern.ngroups set to 16. While I'm certain I have not changed a lot from the default install, is there any place other than the kern.ngroups sysctl variable that I may have changed by accident to decrease the max groups per user? I could also provide output from truss down to: setgroups(0x11,0xbfbfe660) ERR#22 'Invalid argument' Thanks, -- br. j.