From owner-freebsd-questions Mon Mar 10 4: 1:18 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 C465037B401 for ; Mon, 10 Mar 2003 04:01:16 -0800 (PST) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id BBEAE43FBD for ; Mon, 10 Mar 2003 04:01:15 -0800 (PST) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) To: Neeraj Arora Cc: freebsd-questions@FreeBSD.ORG MMDF-Warning: Parse error in original version of preceding line at gs166.sp.cs.cmu.edu Subject: Re: freebsd nis server with debian clients References: From: Dan Pelleg Date: 10 Mar 2003 07:01:07 -0500 In-Reply-To: Message-ID: Lines: 37 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 "Neeraj Arora" writes: > 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...:) > > Can your client see the passwords with a "ypcat -k passwd"? If it does, I would triple-check the password encoding (section 19.8.11 of the handbook). Remember that you need to *change* the password after making a change to encode it in the right method. Next - what does /etc/nsswitch.conf on the client look like? -- Dan Pelleg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message