Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2005 20:54:43 +0100
From:      "Julian D. Seifert" <alamar@alamar.org>
To:        questions@freebsd.org
Subject:   FreeBSD as nis client using Linux nis server
Message-ID:  <20051212205443.261175ca@localhost.localdomain>

next in thread | raw e-mail | index | archive | help
--Signature_Mon__12_Dec_2005_20_54_43_+0100_gjsv2WLS79DiG.Ms
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi List,

I was told there are no bigger problems using nis with Linux as server
so i tried to configure my Freebsd6.0 to use my Linux nis server.
(Linux 2.6.12 Debian sarge ypserv 2.14

I followed the advises from:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html
on how to configure fbsd as nis client.

I used "vipw" to change the passwd file and added the correct number
of ":".=20

ypcat passwd works fine - ypbind is running

rc.conf:
nis_client_enable=3D"YES"
nisdomainname=3D"seifert.lan"
rpcbind_enable=3D"YES"

nsswitch.conf:
group: compat
group_compat: nis
passwd: compat
passwd_compat: nis

The problem is I can't login as an user that wasn't locally added.
User foo exists on the nis server. On all other machines I can login as
foo without any problems. My freebsd denies access for user foo.
On the consoel with "login incorrect" and when I try to login using ssh
I get an error:
Dec 12 19:56:49 miraculix sshd[609]: error: PAM: authentication error
for illegal user foo from stronghold.seifert.lan


bye,

	 Julian `alamar` Seifert

--=20
Where patience fails, force prevails.
=20
gpg fingerprint:=20
435D DDDA 251B 9D70 2F72 78E0 AA5F 11F4 A4ED 451E

--Signature_Mon__12_Dec_2005_20_54_43_+0100_gjsv2WLS79DiG.Ms
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDndWGql8R9KTtRR4RAliOAKDAbbI6waKGLlYkwW+6v4kyi0O/TACdHFFB
KBsrhvnPjmLvvlpFF2PEax8=
=4Pdj
-----END PGP SIGNATURE-----

--Signature_Mon__12_Dec_2005_20_54_43_+0100_gjsv2WLS79DiG.Ms--



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