From owner-freebsd-stable@FreeBSD.ORG Tue Feb 8 21:35:10 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 531D116A4CE for ; Tue, 8 Feb 2005 21:35:10 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5104943D3F for ; Tue, 8 Feb 2005 21:35:09 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 3183D1FF9AF; Tue, 8 Feb 2005 22:35:07 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 3CDF71FF9A6; Tue, 8 Feb 2005 22:35:05 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 9F0B615597; Tue, 8 Feb 2005 21:32:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 939D815384; Tue, 8 Feb 2005 21:32:18 +0000 (UTC) Date: Tue, 8 Feb 2005 21:32:18 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Andrew Konstantinov In-Reply-To: <20050206222203.GA63042@warrior.kableu.com> Message-ID: References: <20050130084359.GA36069@warrior.kableu.com> <20050206061245.GA1774@warrior.kableu.com> <20050206205207.GA764@warrior.kableu.com> <20050206222203.GA63042@warrior.kableu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-stable@freebsd.org Subject: Re: 5.3 -> 5 : sshd multiple log entries & login_getclass: unknown class 'root' X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 21:35:10 -0000 On Sun, 6 Feb 2005, Andrew Konstantinov wrote: > > > > What is the contents of /etc/nsswitch.conf? bz is telling me that if you > > > > still have 'nis' in the lines in nsswitch and you compile with NO_NIS that > > > > you'll get wierd user lookup errors. > > > > > > Hmm, I completely forgot about that one. :( I guess 'nis' should have been > > > switched to 'files' whenever system is compiled with "NO_NIS=true". > > > > it's not documented - sorry, will do that. > > > > change it to sth like: > > > > group: files > > hosts: files dns > > networks: files > > passwd: files > > shells: files > > > > w/o this change I can see sth like this when doing passwd auth: > > > > 'sshd[1995]: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found' > > > > But I suspect this will not help with your problem. > > Actually, that solves all the problems. Once I switched to your version of > nsswitch.conf, all the "unknown class" bugs and multiple logging events have > disappeared. thanks for the information (and thanks for the lib). I will check and see what can be done to prevent these problems in the future. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT