From owner-freebsd-questions Mon Mar 10 6:17:53 2003 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 198DC37B404 for ; Mon, 10 Mar 2003 06:17:51 -0800 (PST) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 525A043FBF for ; Mon, 10 Mar 2003 06:17:49 -0800 (PST) (envelope-from scott@fishballoon.org) Received: from fishballoon.org ([80.4.125.54]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20030310141747.UOA3525.mta05-svc.ntlworld.com@fishballoon.org>; Mon, 10 Mar 2003 14:17:47 +0000 Received: from tuatara.fishballoon.org (tuatara [192.168.1.6]) by fishballoon.org (8.12.6/8.12.6) with ESMTP id h2AEH89A019225; Mon, 10 Mar 2003 14:17:08 GMT (envelope-from scott@tuatara.fishballoon.org) Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.7/8.12.6/Submit) id h2AEHXHE044153; Mon, 10 Mar 2003 14:17:33 GMT (envelope-from scott) Date: Mon, 10 Mar 2003 14:17:33 +0000 From: Scott Mitchell To: Neeraj Arora Cc: freebsd-questions@FreeBSD.ORG Subject: Re: freebsd nis server with debian clients Message-ID: <20030310141733.GA43199@tuatara.fishballoon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.8-PRERELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 10, 2003 at 07:09:04PM +1100, Neeraj Arora wrote: > Hi Geeks, Girls and Guys, > > ...:^) > > I am having a little problem setting up a debian client to derive login > data from a freebsd nis server. There is no problem when the freebsd nis > server interacts with freebsd clients, but there is a problem when it > interacts with a debian gnu/linux client. > > The authentication works when I force a password in the /etc/passwd file > on the debian gnu/linux system. E.g.: > +login_whatever:$1$blahblahblah:::::/bin/bash > +::::::/bin/bash > > But, it does not work when the password has to be sourced from the nis > server (viz. a freebsd machine). I confirmed that both are > communicating/operating on nis v2. And moreover, the password on the > freebsd server are stored in md5 too. Hi Neeraj, Not sure if this is the exact problem you have, but Linux NIS (at least the version on the RedHat boxen I have to deal with) is a bit strange and doesn't interoperate well with 'foreign' NIS servers. Take a look at: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&selm=20020414104220.B293%40fishballoon.dyndns.org This is my answer to a similar question last year, including the changes I made to the FreeBSD NIS Makefile to generate a shadow password map that Linux was happy with. As I said, this was with RedHat 7.x, not Debian, but they're quite likely using the same NFS code, so this might help you as well. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message