From owner-freebsd-questions Mon Mar 10 8:26: 3 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 72C3237B401 for ; Mon, 10 Mar 2003 08:26:01 -0800 (PST) Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA4D743FB1 for ; Mon, 10 Mar 2003 08:25:59 -0800 (PST) (envelope-from mrg8n@virginia.edu) Received: from humpty.finadmin.virginia.edu (localhost.finadmin.virginia.edu [127.0.0.1]) by humpty.finadmin.virginia.edu (8.12.8/8.12.8) with ESMTP id h2AGSgMe019298; Mon, 10 Mar 2003 11:28:42 -0500 (EST) (envelope-from mrg8n@virginia.edu) Received: (from mrg8n@localhost) by humpty.finadmin.virginia.edu (8.12.8/8.12.8/Submit) id h2AGSg4A019297; Mon, 10 Mar 2003 11:28:42 -0500 (EST) (envelope-from mrg8n@virginia.edu) X-Authentication-Warning: humpty.finadmin.virginia.edu: mrg8n set sender to mrg8n@virginia.edu using -f Date: Mon, 10 Mar 2003 11:28:42 -0500 From: Mike Galvez To: freebsd-questions@FreeBSD.ORG Cc: Neeraj.Arora@ems.rmit.edu.au Subject: Re: freebsd nis server with debian clients Message-ID: <20030310162842.GA19206@mail.virginia.edu> 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 UNIX 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. > > So, I dont seem to understand what the problem may be. > > Any help will be great...:) > > Regards, > Neeraj > > N.B.: I am a freebsd devotee and thus posting this to the freebsd-questions mailing list. I might try debian mailing lists too, but first here...:) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message I think your Linux clients are looking for shadow.byname and shadow.byuid. I found this URL while Googling for the same problem. After adding the shadow.byname and shadow.byuid lines to my Makefile, the linux clients were able to log into the FreeBSD NIS server. http://dbforums.com/t582766.html Do pay special attention to hidden characters when editing the Makefile. If you're using vi, you will want to use "set list". HTH -Mike -- Michael Galvez Information Technology Specialist III E-Mail: mrg8n@nospam.virginia.edu University of Virginia If you are a fatalist, what can you do about it? -- Ann Edwards-Duff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message