Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 12:50:14 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Alvaro Rosales R." <aran80@wintersperu.com.pe>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD NIS Server + Linux NIS clients
Message-ID:  <20030724175010.GB32490@dan.emsphone.com>
In-Reply-To: <3F1FD39F.30765.1C4A07@localhost>
References:  <3F1FD39F.30765.1C4A07@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030724175010.GB32490>