From owner-freebsd-net@FreeBSD.ORG Mon May 12 09:01:02 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 855AB106567B for ; Mon, 12 May 2008 09:01:02 +0000 (UTC) (envelope-from dkramer@coverity.com) Received: from gateout01.mbox.net (gateout01.mbox.net [165.212.64.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6628F8FC22 for ; Mon, 12 May 2008 09:01:02 +0000 (UTC) (envelope-from dkramer@coverity.com) Received: from gwsout01.mbox.net (gwsout01.mbox.net [165.212.64.24]) by gateout01.mbox.net (Postfix) with ESMTP id 5F9A0411201 for ; Mon, 12 May 2008 08:49:51 +0000 (GMT) Received: from GW2.EXCHPROD.USA.NET [165.212.116.254] by gwsout01.mbox.net via smtad (C8.MAIN.3.34P) with ESMTP id XID837meLixz5099Xo1; Mon, 12 May 2008 08:49:51 -0000 X-USANET-Source: 165.212.116.254 IN dkramer@coverity.com GW2.EXCHPROD.USA.NET X-USANET-MsgId: XID837meLixz5099Xo1 Received: from [10.176.129.230] ([69.12.168.114]) by GW2.EXCHPROD.USA.NET with Microsoft SMTPSVC(6.0.3790.1830); Mon, 12 May 2008 02:49:50 -0600 Message-ID: <482804BF.1090506@coverity.com> Date: Mon, 12 May 2008 01:50:07 -0700 From: David Kramer User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 May 2008 08:49:51.0087 (UTC) FILETIME=[23F4A7F0:01C8B40D] Subject: FreeBSD 4.9 - NIS Authentication Problem (SSHD Illegal User ERROR) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 09:01:02 -0000 **IF this is the wrong list for this topic please let me know which list I should post network services issues to. I am relatively new to FreeBSD but have quite a bit of experience with NIS on Linux. I am currently working on connecting a FreeBSD 4.9 client connection to NIS server running on OpenBSD 3.9. The ypcat commands are working and I can see the passwd and group files, however when I attempt to login to the machine I keep getting SSHD Illegal User Errors. The type of behavior I am seeing would be common on a Linux machine that uses nssswitch.conf to state which objects to pass authentication through, but its missing the nis value for passwd: or group:. Looking through the FreeBSD website I see that nssswitch was introduced in FreeBSD 5.X. For previous versions of FreeBSD and NIS, are there any additional configurations that need to be done? Possibly with PAM? I have the following values in my /etc/rc.conf files: nisdomainname="myNISdomain" nis_client_enable="YES" I have followed the FreeBSD NIS/YP Handbook configuration to the T, and still get the illegal user authentication any insight would be greatly appreciated. Thanks much, DK -- David Kramer, RHCE Sr. Systems Engineer Coverity, Inc.