Re: nis auth problems

From: Mark Nipper <nipsy_at_tamu.edu>
Date: Mon, 23 Feb 2004 08:38:20 -0600
On 23 Feb 2004, FreeBSD_at_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_at_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_at_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----
Received on Mon Feb 23 2004 - 05:39:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:44 UTC