From owner-freebsd-questions@FreeBSD.ORG Thu Jul 24 10:50:19 2003 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 A853237B4F2 for ; Thu, 24 Jul 2003 10:50:19 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C60243F75 for ; Thu, 24 Jul 2003 10:50:19 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h6OHoGxx006200; Thu, 24 Jul 2003 12:50:16 -0500 (CDT) (envelope-from dan) Date: Thu, 24 Jul 2003 12:50:14 -0500 From: Dan Nelson To: "Alvaro Rosales R." Message-ID: <20030724175010.GB32490@dan.emsphone.com> References: <3F1FD39F.30765.1C4A07@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F1FD39F.30765.1C4A07@localhost> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD NIS Server + Linux NIS clients 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: Thu, 24 Jul 2003 17:50:20 -0000 In the last episode (Jul 24), Alvaro Rosales R. said: > Hi guys I've been trying to set up a Redhat 9 linux client to connect > to my FreeBSD 4.8 NIS server, i can get ypcat passwd work but the > logins with the accounts of the NIS server fail. Can you gimme any > clues?. Does "id nisuser" work? If not, verify that you either: A) have the following in /etc/nswitch.conf: passwd: compat group: compat and have the following somewhere in /etc/passwd: +::0:0::: or B) have the following in /etc/nsswitch.conf: passwd: files nis group: files nis If "id nisuser" works, verify that the Linux client can access the homedir and shell listed in the passwd entry for the user you're testing. I've got 13 Linux clients (RH 6.2->7.3 and two Debian) talking to 2 FreeBSD NIS servers with both of the above methods. -- Dan Nelson dnelson@allantgroup.com