From owner-freebsd-questions Mon Mar 10 0:49:58 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 AB5C837B401 for ; Mon, 10 Mar 2003 00:49:56 -0800 (PST) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63BEC43FAF for ; Mon, 10 Mar 2003 00:49:55 -0800 (PST) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.6/8.12.4) with ESMTP id h2A8noeR041841; Mon, 10 Mar 2003 09:49:50 +0100 (CET) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost) by gwdu60.gwdg.de (8.12.6/8.12.4/Submit) with ESMTP id h2A8nn9t041838; Mon, 10 Mar 2003 09:49:49 +0100 (CET) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Mon, 10 Mar 2003 09:49:48 +0100 (CET) From: Konrad Heuer To: Neeraj Arora Cc: freebsd-questions@FreeBSD.ORG Subject: Re: freebsd nis server with debian clients In-Reply-To: Message-ID: <20030310094600.I85721-100000@gwdu60.gwdg.de> 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 On Mon, 10 Mar 2003, 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...:) Look into /var/yp/Makefile for something looking like this: # If you want to use a FreeBSD NIS server to serve non-FreeBSD clients # (i.e. clients who expect the password field in the passwd maps to be # valid) then uncomment this line. This will cause $YPDIR/passwd to # be generated with valid password fields. This is insecure: FreeBSD # normally only serves the master.passwd maps (which have real encrypted # passwords in them) to the superuser on other FreeBSD machines, but # non-FreeBSD clients (e.g. SunOS, Solaris (without NIS+), IRIX, HP-UX, # etc...) will only work properly in 'unsecure' mode. # UNSECURE = "True" You probably have to set UNSECURE equal to True and to rebuild the maps. Regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message