From owner-freebsd-questions@FreeBSD.ORG Mon Dec 12 19:55:36 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55DB016A422 for ; Mon, 12 Dec 2005 19:55:36 +0000 (GMT) (envelope-from alamar@alamar.org) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CE3543D60 for ; Mon, 12 Dec 2005 19:54:57 +0000 (GMT) (envelope-from alamar@alamar.org) Received: from mail-in-02-z2.arcor-online.net (mail-in-02-z2.arcor-online.net [151.189.8.14]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 5216270CF5 for ; Mon, 12 Dec 2005 20:54:35 +0100 (CET) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-02-z2.arcor-online.net (Postfix) with ESMTP id 26B1D19868C for ; Mon, 12 Dec 2005 20:54:35 +0100 (CET) Received: from stronghold.seifert.lan (p5495131F.dip0.t-ipconnect.de [84.149.19.31]) (Authenticated sender: julian.seifert@arcor.de) by mail-in-05.arcor-online.net (Postfix) with ESMTP id BA5B0D018C for ; Mon, 12 Dec 2005 20:54:34 +0100 (CET) Received: from nirvana.seifert.lan ([192.168.0.130] helo=localhost.localdomain) by stronghold.seifert.lan with esmtp (Exim 3.36 #1 (Debian)) id 1Eltkp-0002CY-00 for ; Mon, 12 Dec 2005 20:54:35 +0100 Date: Mon, 12 Dec 2005 20:54:43 +0100 From: "Julian D. Seifert" To: questions@freebsd.org Message-ID: <20051212205443.261175ca@localhost.localdomain> Organization: seifert X-Mailer: Sylpheed-Claws 1.0.5 (GTK+ 1.2.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Mon__12_Dec_2005_20_54_43_+0100_gjsv2WLS79DiG.Ms; protocol="application/pgp-signature"; micalg=pgp-sha1 Cc: Subject: FreeBSD as nis client using Linux nis server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2005 19:55:36 -0000 --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--