Date: Mon, 23 Feb 2004 08:38:20 -0600 From: Mark Nipper <nipsy@tamu.edu> To: "FreeBSD@TinyCreatures" <freebsd@tinycreatures.ro> Cc: freebsd-current@freebsd.org Subject: Re: nis auth problems Message-ID: <20040223143819.GA14321@ops.tamu.edu> In-Reply-To: <1077563232.1324.64.camel@abel> References: <20040223090906.B2D8B16A508@hub.freebsd.org> <1077563232.1324.64.camel@abel>
next in thread | previous in thread | raw e-mail | index | archive | help
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----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223143819.GA14321>