From owner-freebsd-current@FreeBSD.ORG Mon Feb 23 06:39:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93D5816A4CE for ; Mon, 23 Feb 2004 06:39:09 -0800 (PST) Received: from ops.tamu.edu (ops.tamu.edu [165.91.250.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85AFD43D1D for ; Mon, 23 Feb 2004 06:39:09 -0800 (PST) (envelope-from nipsy@ops.tamu.edu) Received: from nipsy by ops.tamu.edu with local (Exim 4.30; FreeBSD) id 1AvHDw-0003qN-3T; Mon, 23 Feb 2004 08:38:20 -0600 Date: Mon, 23 Feb 2004 08:38:20 -0600 From: Mark Nipper To: "FreeBSD@TinyCreatures" Message-ID: <20040223143819.GA14321@ops.tamu.edu> References: <20040223090906.B2D8B16A508@hub.freebsd.org> <1077563232.1324.64.camel@abel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1077563232.1324.64.camel@abel> User-Agent: Mutt/1.5.5.1i Sender: Mark Nipper cc: freebsd-current@freebsd.org Subject: Re: nis auth problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 14:39:09 -0000 On 23 Feb 2004, FreeBSD@TinyCreatures wrote: > I recently set up a NIS server on a box running FreeBSD 5.2. Everything > went well. The clients are Linux machines, tried to configure one, it > connects to the NIS server, all yp commands return successfull queries, > made the necessary changes in nsswithch.conf as well, however, when i'm > trying to log on with a user that exists only on the NIS server i get > "Login incorrect" messages all the time. > What could be the problem. I assume you are running with shadow password files on your Linux clients? Did you make sure to set your /var/yp/passwd entries to look like: --- user:x:1000:1000:User:/home/user:/bin/sh instead of: --- user:*:1000:1000:User:/home/user:/bin/sh I think by default FreeBSD (it's been a really long time since I set this up myself initiialy, but I recall this being a problem) uses '*' as the place holder in passwd, but this confuses my Linux clients. Replacing with 'x' fixes the problem. -- Mark Nipper e-contacts: Computing and Information Services nipsy@tamu.edu Texas A&M University http://ops.tamu.edu/nipsy/ College Station, TX 77843-3142 AIM/Yahoo: texasnipsy ICQ: 66971617 (979)575-3193 MSN: nipsy@tamu.edu -----BEGIN GEEK CODE BLOCK----- GG/IT d- s++:+ a- C++$ UBL+++$ P--->+++ L+++$ E--- W++ N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--) Y+ PGP++(+) t 5 X R tv b+++ DI+(++) D+ G e h r++ y+(**) ------END GEEK CODE BLOCK------ ---begin random quote of the moment--- "If the fool would persist in his folly he would become wise." -- one of the Proverbs of Hell from William Blake's _The Marraige of Heaven and Hell_, 1789-1790 ----end random quote of the moment----