From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 12:41:40 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 E56B516A4D0 for ; Sun, 14 Dec 2003 12:41:40 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FA5143D2D for ; Sun, 14 Dec 2003 12:39:14 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id hBEKd1EP090896; Sun, 14 Dec 2003 14:39:01 -0600 (CST) (envelope-from dan) Date: Sun, 14 Dec 2003 14:39:00 -0600 From: Dan Nelson To: Hossein Message-ID: <20031214203900.GE17799@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.2-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: freebsd-questions@freebsd.org Subject: Re: NIS authontication problem. 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: Sun, 14 Dec 2003 20:41:41 -0000 In the last episode (Dec 14), Hossein said: > In our department we are going to use a 5.1 Stable FreeBSD, and > it must run NIS client to authonticate the users through a Linux NIS > server. > The ypbind works well and when I do "ypcat passwd" I get the > enteries in the passwd of the NIS server. I added the correct lines > to passwd.master and group according to the handbook. But no user can > log in and in the /var/log/auth.log it apears that the password is > not corect. If you edited passwd.master directly, you may need to run "pwd_mkdb" to rebuild the spwd.db and pwd.db database files that the system uses. The "vipw" command does this automatically. Does "finger somenisuser" on the client print the right info? -- Dan Nelson dnelson@allantgroup.com